Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "vm: Allow larger 32bit code heaps."
This reverts commit 723e0e2.
  • Loading branch information
mrjbq7 committed Aug 14, 2020
1 parent 8eb78b9 commit 0c0647f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/code_heap.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 0c0647f

Please sign in to comment.