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, 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 */