mirror of
git://c9x.me/qbe.git
synced 2026-04-07 10:59:47 +00:00
fix accidentally noop loop
Credit goes to Roland Paterson-Jones for spotting this bug.
This commit is contained in:
parent
de5ced474d
commit
dc3f7d7c4a
2
parse.c
2
parse.c
@ -920,7 +920,7 @@ parsefn(Lnk *lnk)
|
|||||||
curf->nmem = 0;
|
curf->nmem = 0;
|
||||||
curf->nblk = nblk;
|
curf->nblk = nblk;
|
||||||
curf->rpo = 0;
|
curf->rpo = 0;
|
||||||
for (b=0; b; b=b->link)
|
for (b=curf->start; b; b=b->link)
|
||||||
b->dlink = 0; /* was trashed by findblk() */
|
b->dlink = 0; /* was trashed by findblk() */
|
||||||
for (i=0; i<BMask+1; ++i)
|
for (i=0; i<BMask+1; ++i)
|
||||||
blkh[i] = 0;
|
blkh[i] = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user