aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-12-05 19:52:08 +0000
committergingerBill <bill@gingerbill.org>2020-12-05 19:52:08 +0000
commit1a8ea6113a16e1a762106ba97442c1e991041841 (patch)
tree88a081f4abe422da30a038354dfdaed01dc64530 /src/ir_print.cpp
parent76e6624dbb065c0bba8d5512613cd3083dd79fda (diff)
Remove `hash` field in runtime.Source_Code_Location
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp
index a04f7b657..a58ddbe0f 100644
--- a/src/ir_print.cpp
+++ b/src/ir_print.cpp
@@ -1430,7 +1430,6 @@ void ir_print_value(irFileBuffer *f, irModule *m, irValue *value, Type *type_hin
irValue *line = value->SourceCodeLocation.line;
irValue *column = value->SourceCodeLocation.column;
irValue *procedure = value->SourceCodeLocation.procedure;
- u64 hash = value->SourceCodeLocation.hash;
ir_write_byte(f, '{');
ir_print_type(f, m, t_string); ir_write_byte(f, ' '); ir_print_value(f, m, file, t_string);
@@ -1440,8 +1439,6 @@ void ir_print_value(irFileBuffer *f, irModule *m, irValue *value, Type *type_hin
ir_print_type(f, m, t_int); ir_write_byte(f, ' '); ir_print_value(f, m, column, t_int);
ir_write_string(f, str_lit(", "));
ir_print_type(f, m, t_string); ir_write_byte(f, ' '); ir_print_value(f, m, procedure, t_string);
- ir_write_string(f, str_lit(", "));
- ir_print_type(f, m, t_u64); ir_write_byte(f, ' '); ir_write_u64(f, hash);
ir_write_byte(f, '}');
break;
}