mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
free old rpo information before overwriting
This commit is contained in:
parent
851e79f959
commit
5f39a368ac
@ -61,6 +61,7 @@ fillrpo(Fn *f)
|
||||
for (b=f->start; b; b=b->link)
|
||||
b->rpo = -1;
|
||||
n = rporec(f->start, f->nblk-1);
|
||||
free(f->rpo);
|
||||
f->rpo = alloc(n * sizeof(Blk*));
|
||||
for (p=&f->start; *p;) {
|
||||
b = *p;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user