diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-26 16:28:35 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-26 16:28:35 -0500 |
commit | 6f808867f1579008e40b33916f5c711e272860ec (patch) | |
tree | 92f061ad7511d1c43bdf145250467e14aaf05b92 | |
parent | f74f18b13ede1fb9051f189787b9f3e8aed57030 (diff) | |
download | roux-6f808867f1579008e40b33916f5c711e272860ec.tar.gz |
oops, fix wrong bitset allocation
-rw-r--r-- | lisc/ssa.c | 4 |
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; |