aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_alloc.c4
1 files 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 @@
100 100
101#if LJ_GC64 101#if LJ_GC64
102#define LJ_ALLOC_MBITS 47 /* 128 TB in LJ_GC64 mode. */ 102#define LJ_ALLOC_MBITS 47 /* 128 TB in LJ_GC64 mode. */
103#elif LJ_TARGET_X64 && LJ_HASJIT 103#elif LJ_TARGET_X64
104/* Due to limitations in the x64 compiler backend. */ 104/* Due to limitations in the x64 non-GC64 VM. */
105#define LJ_ALLOC_MBITS 31 /* 2 GB on x64 with !LJ_GC64. */ 105#define LJ_ALLOC_MBITS 31 /* 2 GB on x64 with !LJ_GC64. */
106#else 106#else
107#define LJ_ALLOC_MBITS 32 /* 4 GB on other archs with !LJ_GC64. */ 107#define LJ_ALLOC_MBITS 32 /* 4 GB on other archs with !LJ_GC64. */