From eff4006837792b6105e0a1743283ddde3548fc09 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Wed, 11 Feb 2026 23:09:57 +0100 Subject: x64/!LJ_GC64: The allocation limit is required for a no-JIT build, too. Thanks to Sergey Kaplun. #1430 --- src/lj_alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lj_alloc.c b/src/lj_alloc.c index cb704f7b..f4d3a7da 100644 --- a/src/lj_alloc.c +++ b/src/lj_alloc.c @@ -100,8 +100,8 @@ #if LJ_GC64 #define LJ_ALLOC_MBITS 47 /* 128 TB in LJ_GC64 mode. */ -#elif LJ_TARGET_X64 && LJ_HASJIT -/* Due to limitations in the x64 compiler backend. */ +#elif LJ_TARGET_X64 +/* Due to limitations in the x64 non-GC64 VM. */ #define LJ_ALLOC_MBITS 31 /* 2 GB on x64 with !LJ_GC64. */ #else #define LJ_ALLOC_MBITS 32 /* 4 GB on other archs with !LJ_GC64. */ -- cgit v1.2.3-55-g6feb