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

@ -80,9 +80,9 @@ filllive(Fn *f)
assert(f->ntmp <= NBit*BITS);
phi = emalloc(f->ntmp * sizeof phi[0]);
for (b=f->start; b; b=b->link) {
b->in = (Bits){{0}};
b->out = (Bits){{0}};
b->gen = (Bits){{0}};
BZERO(b->in);
BZERO(b->out);
BZERO(b->gen);
}
chg = 1;
Again: