mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
iterate correctly on blocks in spiller...
This commit is contained in:
parent
134cfc4541
commit
f184585cd5
@ -362,7 +362,7 @@ spill(Fn *fn)
|
||||
BSET(mask[k], t);
|
||||
}
|
||||
|
||||
for (bp=&fn->rpo[fn->nblk-1]; bp!=fn->rpo;) {
|
||||
for (bp=&fn->rpo[fn->nblk]; bp!=fn->rpo;) {
|
||||
b = *--bp;
|
||||
/* invariant: all bocks with bigger rpo got
|
||||
* their in,out updated. */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user