Fix make error messages

This commit is contained in:
gingerBill committed 2018-08-08 23:07:51 +01:00
1 parent 3928614326
commit 877a78d6ba
4 files changed
+8 -7

No files matched your search

+2 -1
View File
@@ -7244,7 +7244,8 @@ void ir_begin_procedure_body(irProcedure *proc) {
e->flags |= EntityFlag_NoAlias;
irValue *param = ir_value_param(proc, e, e->type);
ir_module_add_value(proc->module, e, param);
array_add(&proc->context_stack, {param, proc->scope_index});
irContextData ctx = {param, proc->scope_index};
array_add(&proc->context_stack, ctx);
}
}