After #984 we can increase the heap size to 512K

JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély [email protected]
This commit is contained in:
Zsolt Borbély committed 2016-04-15 12:44:22 +02:00
1 parent 4b0b8f3d4f
commit 40e4d2638b
2 files changed
+7 -4

No files matched your search

+3
View File
@@ -202,6 +202,9 @@ mem_heap_init (void)
JERRY_STATIC_ASSERT ((uintptr_t) mem_heap.area % MEM_ALIGNMENT == 0,
mem_heap_area_must_be_multiple_of_MEM_ALIGNMENT);
JERRY_STATIC_ASSERT ((1u << MEM_HEAP_OFFSET_LOG) >= MEM_HEAP_SIZE,
two_pow_mem_heap_offset_should_not_be_less_than_mem_heap_size);
mem_heap_allocated_size = 0;
mem_heap_limit = CONFIG_MEM_HEAP_DESIRED_LIMIT;
mem_heap.first.size = 0;