diff options
| author | gingerBill <bill@gingerbill.org> | 2017-11-26 18:36:46 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-11-26 18:36:46 +0000 |
| commit | 74fa7ca25ddb4c2fc7a600d0089b1a18f6465b69 (patch) | |
| tree | 4814e2e3a8366c388ef867848bfe05a0346d4121 /src/ir_print.cpp | |
| parent | 5a9223afdac7b97355be6c0441978f12175ede77 (diff) | |
New slice memory layout (ptr+len); `byte`
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 0c84b3567..0b0e5d97b 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -323,7 +323,7 @@ void ir_print_type(irFileBuffer *f, irModule *m, Type *t) { case Type_Slice: ir_write_byte(f, '{'); ir_print_type(f, m, t->Slice.elem); - ir_fprintf(f, "*, i%lld, i%lld}", word_bits, word_bits); + ir_fprintf(f, "*, i%lld}", word_bits); return; case Type_DynamicArray: ir_write_byte(f, '{'); |