commit 6f808867f1579008e40b33916f5c711e272860ec
parent f74f18b13ede1fb9051f189787b9f3e8aed57030
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Fri, 26 Feb 2016 16:28:35 -0500
oops, fix wrong bitset allocation
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisc/ssa.c b/lisc/ssa.c
@@ -295,8 +295,8 @@ phiins(Fn *fn)
Ref r;
int t, n, k, nt;
- bsinit(u, fn->ntmp); /* todo, free those */
- bsinit(defs, fn->ntmp);
+ bsinit(u, fn->nblk); /* todo, free those */
+ bsinit(defs, fn->nblk);
blist = emalloc(fn->nblk * sizeof blist[0]);
be = &blist[fn->nblk];
nt = fn->ntmp;