From c6785b71497bbab32999b53ccfaa36fdd6c7a795 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Sat, 13 Mar 2021 20:49:14 -0800 Subject: [PATCH] Revert "vm: Allow larger 32bit code heaps." This reverts commit 723e0e2c1a3973e990a61fceaa808bb0b7261d6f. --- 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 77aa7ae287..ad507c2e78 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 - 5))) + if (size > ((uint64_t)1 << (sizeof(cell) * 8 - 6))) fatal_error("Heap too large", size); seg = new segment(align_page(size), true); if (!seg) -- 2.34.1