aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-10-08 15:16:13 +0100
committerGinger Bill <bill@gingerbill.org>2017-10-08 15:16:13 +0100
commit6424966b7ad6f85dc56d72cf623276f788a1a157 (patch)
tree063d3063c885f331b71c51844f35a85d19af1f75 /src/ir_print.cpp
parent4e42d7df4303470dec5b3c354a9469699f6abf8d (diff)
Union tag stored as an integer
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp3
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;