diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-08-28 23:04:48 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-08-28 23:04:48 +0100 |
| commit | 1e3b3c107ca76ef57460dc1b010efcf6c03b8cd7 (patch) | |
| tree | 964eb2d21cd45d42be01bba559a9fb73b82d7e8e /src/ir_print.cpp | |
| parent | 2ac33285c13f40799d789f43feb739a1ee3c26b1 (diff) | |
IR Fix for UnionTagValue
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 70afb29e5..462cc617a 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -1045,7 +1045,7 @@ void ir_print_instr(irFileBuffer *f, irModule *m, irValue *value) { ir_write_string(f, " 0, "); ir_print_type(f, m, t_i32); #if 1 - ir_fprintf(f, " %d", 2); + ir_fprintf(f, " 2"); #else ir_fprintf(f, " %d", 2); #endif @@ -1064,11 +1064,10 @@ void ir_print_instr(irFileBuffer *f, irModule *m, irValue *value) { ir_print_value(f, m, instr->UnionTagValue.address, et); ir_write_byte(f, ','); #if 1 - ir_fprintf(f, " %d", 2); + ir_fprintf(f, " 2"); #else ir_fprintf(f, " %d", 2); #endif - ir_fprintf(f, ", %d", 2); ir_write_string(f, " ; UnionTagValue"); ir_write_byte(f, '\n'); } break; |