commit 4be9d2b5593dec6b4251c789fbabbe985655d670
parent eb3a5b4457b141f28346b1b284db28c4bde1a6a1
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Tue, 12 Apr 2016 14:23:11 -0400
cosmetic modification in fold
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fold.c b/fold.c
@@ -80,9 +80,8 @@ visitphi(Phi *p, int n, Fn *fn)
dead = edge[m][1].dead;
else
die("invalid phi argument");
- m = latval(p->arg[a]);
if (!dead)
- v = latmerge(v, m);
+ v = latmerge(v, latval(p->arg[a]));
}
update(p->to.val, v, fn);
}