From 0839dccfdc6d754cbce1041a03d16b588cfbef95 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 19 Nov 2019 23:24:49 +0000 Subject: Fix Compiler panic with SIMD Vector debug information #481 --- src/ir_print.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ir_print.cpp') 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) { -- cgit v1.2.3