aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp
index d47dfc898..b825d2322 100644
--- a/src/ir_print.cpp
+++ b/src/ir_print.cpp
@@ -1955,6 +1955,8 @@ void ir_print_instr(irFileBuffer *f, irModule *m, irValue *value) {
irInstrCall *call = &instr->Call;
Type *proc_type = base_type(ir_type(call->value));
GB_ASSERT(is_type_proc(proc_type));
+ set_procedure_abi_types(heap_allocator(), proc_type);
+
bool is_c_vararg = proc_type->Proc.c_vararg;
Type *result_type = call->type;
if (result_type) {