diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-10-08 15:16:13 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-10-08 15:16:13 +0100 |
| commit | 6424966b7ad6f85dc56d72cf623276f788a1a157 (patch) | |
| tree | 063d3063c885f331b71c51844f35a85d19af1f75 /src/ir_print.cpp | |
| parent | 4e42d7df4303470dec5b3c354a9469699f6abf8d (diff) | |
Union tag stored as an integer
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index a1b2a1d03..a8f053bbd 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -305,7 +305,8 @@ void ir_print_type(irFileBuffer *f, irModule *m, Type *t) { ir_fprintf(f, "{[0 x <%lld x i8>], ", align); ir_fprintf(f, "[%lld x i8], ", block_size); - ir_print_type(f, m, t_type_info_ptr); + // ir_print_type(f, m, t_type_info_ptr); + ir_print_type(f, m, union_tag_type(t)); ir_write_byte(f, '}'); } } return; |