aboutsummaryrefslogtreecommitdiff
path: root/ssa.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssa.c')
-rw-r--r--ssa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssa.c b/ssa.c
index f3e9b45..d2ac227 100644
--- a/ssa.c
+++ b/ssa.c
@@ -47,6 +47,7 @@ filluse(Fn *fn)
/* todo, is this the correct file? */
tmp = fn->tmp;
for (t=Tmp0; t<fn->ntmp; t++) {
+ tmp[t].ins = 0;
tmp[t].bid = -1u;
tmp[t].ndef = 0;
tmp[t].nuse = 0;
@@ -88,6 +89,7 @@ filluse(Fn *fn)
w = WFull;
t = i->to.val;
tmp[t].width = w;
+ tmp[t].ins = i;
tmp[t].bid = b->id;
tmp[t].ndef++;
tmp[t].cls = i->cls;