Begin work on the Interpreter

This commit is contained in:
Ginger Bill
2016-10-30 17:49:30 +00:00
parent 3ec67853e1
commit ca311c4a59
6 changed files with 34 additions and 19 deletions
+2 -1
View File
@@ -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);
}
}
}