diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-04-16 22:07:26 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-04-16 22:07:26 +0100 |
| commit | 5041a35b95e4e911697b464d6f20f99aef7a598b (patch) | |
| tree | 5d94fb05b72c85e580848fa287d87b6b6dcb4458 /src | |
| parent | 92d4fcedee9b9c45a3c8a870c9e87bef8f4d99e4 (diff) | |
Fix ir printing of constant slices
Diffstat (limited to 'src')
| -rw-r--r-- | src/ir_print.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ir_print.c b/src/ir_print.c index 6603613e4..c4996cc8a 100644 --- a/src/ir_print.c +++ b/src/ir_print.c @@ -662,7 +662,9 @@ void ir_print_value(irFileBuffer *f, irModule *m, irValue *value, Type *type_hin ir_print_type(f, m, t_int); ir_fprintf(f, " 0, i32 0), "); ir_print_type(f, m, t_int); - ir_fprintf(f, " %lld, %lld}", cs->count, cs->count); + ir_fprintf(f, " %lld, ", cs->count); + ir_print_type(f, m, t_int); + ir_fprintf(f, " %lld}", cs->count); } } break; |