From e6fbab42185f4fb4e3a3b1e3e93eaa5d3d81b7c7 Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 20 Dec 2025 17:59:40 +0100 Subject: 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. --- ir/ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ir/ir.h') diff --git a/ir/ir.h b/ir/ir.h index ad22eb9..6e8ae88 100644 --- a/ir/ir.h +++ b/ir/ir.h @@ -162,7 +162,7 @@ enum { FNDOM = 1<<3, }; struct function { - struct arena **arena; + struct arena **arena, **passarena; internstr name; struct block *entry, *curblk; struct use *use; -- cgit v1.2.3