diff options
| author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-04 13:58:23 -0500 |
|---|---|---|
| committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-02-04 13:58:23 -0500 |
| commit | f184585cd573c8c7e88648769faf988c3bbe8bc1 (patch) | |
| tree | ef45b8889139f5e31a2193f24db6034baacd7506 | |
| parent | 134cfc45415bfaf95c68a70e3619b5bd220bde1b (diff) | |
| download | roux-f184585cd573c8c7e88648769faf988c3bbe8bc1.tar.gz | |
iterate correctly on blocks in spiller...
| -rw-r--r-- | lisc/spill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/spill.c b/lisc/spill.c index ea89fd9..b12522b 100644 --- a/lisc/spill.c +++ b/lisc/spill.c @@ -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. */ |
