summary refs log tree commit diff
path: root/lisc
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-26 16:28:35 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-26 16:28:35 -0500
commit6f808867f1579008e40b33916f5c711e272860ec (patch)
tree92f061ad7511d1c43bdf145250467e14aaf05b92 /lisc
parentf74f18b13ede1fb9051f189787b9f3e8aed57030 (diff)
downloadroux-6f808867f1579008e40b33916f5c711e272860ec.tar.gz
oops, fix wrong bitset allocation
Diffstat (limited to 'lisc')
-rw-r--r--lisc/ssa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/ssa.c b/lisc/ssa.c
index 4501044..9115f4c 100644
--- 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;