diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-07-10 13:56:18 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:27 -0400 |
commit | 5f39a368aca158e6d3e1f6c408c7b3b496805315 (patch) | |
tree | 573e3348cda08a2638d6fead2b4d0932d1d5e58e | |
parent | 851e79f9590b705a0fb168d16755caad03650348 (diff) | |
download | roux-5f39a368aca158e6d3e1f6c408c7b3b496805315.tar.gz |
free old rpo information before overwriting
-rw-r--r-- | lisc/ssa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisc/ssa.c b/lisc/ssa.c index 4703d0a..067784e 100644 --- a/lisc/ssa.c +++ b/lisc/ssa.c @@ -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; |