vm: Allow larger 32bit code heaps.

Code heap is artificially restricted on 32bit because PPC only had relative
jump instructions of a certain width and we punted on implementing
larger jumps.
master
Doug Coleman 2020-04-13 15:50:58 -07:00
parent 5d818ccc71
commit 723e0e2c1a
1 changed files with 1 additions and 1 deletions

View File

@ -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)