aboutsummaryrefslogtreecommitdiff
path: root/src/ssa
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-03-15 18:17:50 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit5a93c32a59775cd1be4b4f450e8230016b434366 (patch)
treeb89f3f7c8b07176aa5ae783319d9e613a42db703 /src/ssa
parentd4ca9de33906972fa06bd2b7e38cbc2b4d3574c2 (diff)
Resolve variable references
Diffstat (limited to 'src/ssa')
-rw-r--r--src/ssa/ssa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ssa/ssa.c b/src/ssa/ssa.c
index b8aa8b0..f892531 100644
--- a/src/ssa/ssa.c
+++ b/src/ssa/ssa.c
@@ -184,8 +184,9 @@ int ssa_ins_func_start(Ssa *self, u8 num_args, SsaFuncIndex *result) {
}
int ssa_ins_func_end(Ssa *self) {
- SsaInstructionType ins;
+ u8 ins;
ins = SSA_FUNC_END;
+ amal_log_debug("FUNC_END");
return buffer_append(&self->instructions, &ins, 1);
}