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/intrin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ir/intrin.c') diff --git a/ir/intrin.c b/ir/intrin.c index 53e29fc..d31f9bb 100644 --- a/ir/intrin.c +++ b/ir/intrin.c @@ -49,7 +49,7 @@ void lowerintrin(struct function *fn) { struct block *blk = fn->entry; - static struct arg argsbuf[64]; + struct arg argsbuf[32]; vec_of(struct arg) args = VINIT(argsbuf, countof(argsbuf)); do { -- cgit v1.2.3