diff options
| author | gingerBill <bill@gingerbill.org> | 2020-01-12 13:43:45 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-01-12 13:43:45 +0000 |
| commit | ba85e432e77eec502a00a0bfc3c4b8b30dfb8f32 (patch) | |
| tree | 8cb87349a5a5719eb9cb14f76e4f1832c11b575e /src/ir.cpp | |
| parent | cfba29002a60a96633e94ebd0cd5899e960d2dc0 (diff) | |
Fix Proc Type ABI printing on System V
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index 2de2b2669..e00dc42ee 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -1713,6 +1713,7 @@ irValue *ir_add_local(irProcedure *proc, Entity *e, Ast *expr, bool zero_initial if (zero_initialized) { ir_emit_zero_init(proc, instr, expr); } + set_procedure_abi_types(heap_allocator(), e->type); // if (proc->module->generate_debug_info && expr != nullptr && proc->entity != nullptr) { // if (proc->module->generate_debug_info && proc->entity != nullptr) { |