]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/code_heap.cpp
io.streams.256color: faster by caching styles
[factor.git] / vm / code_heap.cpp
index ad507c2e78fb5ee8a4943818ab9fa501ed8a2429..77aa7ae287670a3186fb8489138af68e76561060 100644 (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)