Fix make error messages

This commit is contained in:
gingerBill
2018-08-08 23:07:51 +01:00
parent 3928614326
commit 877a78d6ba
4 changed files with 8 additions and 7 deletions
+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);
}
}