aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ir_stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir_stack.c')
-rw-r--r--src/ir_stack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir_stack.c b/src/ir_stack.c
index a9acc61..e77e114 100644
--- a/src/ir_stack.c
+++ b/src/ir_stack.c
@@ -20,6 +20,7 @@ lowerstack(Function *fn)
if (fn->stksiz > (1<<20)-1) error(NULL, "'%s' stack frame too big", fn->name);
*ins = mkinstr0(Onop,0);
replcuses(mkref(RTMP, t), mkref(RSTACK, fn->stksiz-siz));
+ deluses(t);
}
}
} while ((blk = blk->lnext) != fn->entry);