diff options
| author | 2026-01-08 12:21:40 +0100 | |
|---|---|---|
| committer | 2026-01-08 12:21:40 +0100 | |
| commit | 2769a58ab256522eafec1f833676ceffb4baff24 (patch) | |
| tree | 6c76f99d14598d7cf0a93a08a8dcd714752236f2 /ir/regalloc.c | |
| parent | 45036f2a6f612d8bbe071d332c5a0baf92783044 (diff) | |
codegen: eliminate redudant consecutive ret sequences
Diffstat (limited to 'ir/regalloc.c')
| -rw-r--r-- | ir/regalloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ir/regalloc.c b/ir/regalloc.c index 14dfafc..9057d43 100644 --- a/ir/regalloc.c +++ b/ir/regalloc.c @@ -1197,6 +1197,7 @@ devirt(struct rega *ra, struct block *blk) } } + if (allnops) vfree(&blk->ins); return allnops; } |