aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/regalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ir/regalloc.c')
-rw-r--r--ir/regalloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir/regalloc.c b/ir/regalloc.c
index 691793e..794cdd6 100644
--- a/ir/regalloc.c
+++ b/ir/regalloc.c
@@ -1233,6 +1233,8 @@ fini(struct rega *ra)
freeblk(fn, blk);
--id;
}
+ } else if (allnops) {
+ vfree(&blk->ins);
}
} while ((blk = blk->lnext) != fn->entry);
}