diff options
| author | gingerBill <bill@gingerbill.org> | 2019-11-19 23:24:49 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-11-19 23:24:49 +0000 |
| commit | 0839dccfdc6d754cbce1041a03d16b588cfbef95 (patch) | |
| tree | 0b60d580b7b59c9b120bc41bfabd30e8bacaa726 /src/ir_print.cpp | |
| parent | d22e5b697db24e943d2500e69cc98acda63434e3 (diff) | |
Fix Compiler panic with SIMD Vector debug information #481
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 2 |
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) { |