mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Enable 32bit cpointers by default if the given heap size is greater than 512KB (#2833)
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
parent
6801871161
commit
10d820165d
@ -55,6 +55,12 @@ if(FEATURE_SYSTEM_ALLOCATOR)
|
||||
set(FEATURE_CPOINTER_32_BIT_MESSAGE " (FORCED BY SYSTEM ALLOCATOR)")
|
||||
endif()
|
||||
|
||||
if (MEM_HEAP_SIZE_KB GREATER 512)
|
||||
set(FEATURE_CPOINTER_32_BIT ON)
|
||||
|
||||
set(FEATURE_CPOINTER_32_BIT_MESSAGE " (FORCED BY HEAP SIZE)")
|
||||
endif()
|
||||
|
||||
if(NOT FEATURE_JS_PARSER)
|
||||
set(FEATURE_SNAPSHOT_EXEC ON)
|
||||
set(FEATURE_PARSER_DUMP OFF)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user