From 940c35648913fdec07b51ef40364e94a5086a19c Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 11 Jan 2022 22:49:12 -0600 Subject: [PATCH] Revert "Revert "vm: Allow larger 32bit code heaps."" This reverts commit c6785b71497bbab32999b53ccfaa36fdd6c7a795. Trying to allow 96MiB codeheaps on 32bit. Can't remember why this didnt work last time. --- vm/code_heap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/code_heap.cpp b/vm/code_heap.cpp index ad507c2e78..77aa7ae287 100644 --- a/vm/code_heap.cpp +++ b/vm/code_heap.cpp @@ -3,7 +3,7 @@ namespace factor { code_heap::code_heap(cell size) { - if (size > ((uint64_t)1 << (sizeof(cell) * 8 - 6))) + if (size > ((uint64_t)1 << (sizeof(cell) * 8 - 5))) fatal_error("Heap too large", size); seg = new segment(align_page(size), true); if (!seg) -- 2.34.1