Fix Proc Type ABI printing on System V

This commit is contained in:
gingerBill committed 2020-01-12 13:43:45 +00:00
1 parent cfba29002a
commit ba85e432e7
3 files changed
+51 -15

No files matched your search

+1
View File
@@ -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) {