Browse Source

Add extra in set_procedure_abi_types ir_print.cpp

gingerBill 5 years ago
parent
commit
cae1e02593
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/ir_print.cpp

+ 2 - 0
src/ir_print.cpp

@@ -296,6 +296,8 @@ void ir_print_alignment_prefix_hack(irFileBuffer *f, i64 alignment) {
 
 
 
 
 void ir_print_proc_results(irFileBuffer *f, irModule *m, Type *t) {
 void ir_print_proc_results(irFileBuffer *f, irModule *m, Type *t) {
+	set_procedure_abi_types(heap_allocator(), t);
+
 	GB_ASSERT(is_type_proc(t));
 	GB_ASSERT(is_type_proc(t));
 	t = base_type(t);
 	t = base_type(t);
 	isize result_count = t->Proc.result_count;
 	isize result_count = t->Proc.result_count;