mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 03:42:23 -07:00
Begin work on the Interpreter
This commit is contained in:
+2
-1
@@ -11,7 +11,8 @@ void ssa_begin_procedure_body(ssaProcedure *proc) {
|
||||
auto *params = &proc->type->Proc.params->Tuple;
|
||||
for (isize i = 0; i < params->variable_count; i++) {
|
||||
Entity *e = params->variables[i];
|
||||
ssa_add_param(proc, e);
|
||||
ssaValue *param = ssa_add_param(proc, e);
|
||||
array_add(&proc->params, param);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user