diff options
| author | 2025-12-20 17:59:40 +0100 | |
|---|---|---|
| committer | 2025-12-20 19:31:50 +0100 | |
| commit | e6fbab42185f4fb4e3a3b1e3e93eaa5d3d81b7c7 (patch) | |
| tree | dba8dd1a91f532dd104dc1299b32e79babacb499 /ir/regalloc.c | |
| parent | a5009ae762541c29e9a123bf70877261db4ff628 (diff) | |
backend: unify pass memory allocation strategies
It was all over the place for temporary data structures used by
individual passes. Now there is an arena specifically for that, which is
nicer.
Diffstat (limited to 'ir/regalloc.c')
| -rw-r--r-- | ir/regalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/regalloc.c b/ir/regalloc.c index 9c1f232..e8eccfb 100644 --- a/ir/regalloc.c +++ b/ir/regalloc.c @@ -1274,7 +1274,7 @@ void regalloc(struct function *fn) { static union ref *stkslotrefsbuf[64]; - struct rega ra = {fn, .arena = fn->arena}; + struct rega ra = {fn, .arena = fn->passarena}; struct block *blk, *last; /* setup */ |