provide BZERO macro for bitsets

This commit is contained in:
Quentin Carbonneaux 2015-11-09 21:34:59 -05:00
parent b5330f2a44
commit 8ed8f1cd4c
5 changed files with 8 additions and 7 deletions

View file

@ -398,7 +398,7 @@ rega(Fn *fn)
for (n=fn->nblk-1; n>=0; n--) {
b = fn->rpo[n];
cur.n = 0;
cur.b = (Bits){{0}};
BZERO(cur.b);
for (x=0; x<2; x++)
for (t=Tmp0; t<fn->ntmp; t++) {
assert(BGET(b->out, t) ||