From 4e237808ac9ee069eb548909d198478e98b01a00 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Wed, 8 Dec 2021 02:37:58 +0800 Subject: [PATCH] Enable possible flags. --- jerry-core/CMakeLists.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/jerry-core/CMakeLists.txt b/jerry-core/CMakeLists.txt index 22f62be22e..71cec8041e 100644 --- a/jerry-core/CMakeLists.txt +++ b/jerry-core/CMakeLists.txt @@ -20,30 +20,30 @@ include(CheckLibraryExists) # Optional features set(JERRY_CPOINTER_32_BIT OFF CACHE BOOL "Enable 32 bit compressed pointers?") -set(JERRY_DEBUGGER OFF CACHE BOOL "Enable JerryScript debugger?") -set(JERRY_ERROR_MESSAGES OFF CACHE BOOL "Enable error messages?") -set(JERRY_EXTERNAL_CONTEXT OFF CACHE BOOL "Enable external context?") +set(JERRY_DEBUGGER ON CACHE BOOL "Enable JerryScript debugger?") +set(JERRY_ERROR_MESSAGES ON CACHE BOOL "Enable error messages?") +set(JERRY_EXTERNAL_CONTEXT ON CACHE BOOL "Enable external context?") set(JERRY_PARSER ON CACHE BOOL "Enable javascript-parser?") -set(JERRY_FUNCTION_TO_STRING OFF CACHE BOOL "Enable function toString operation?") -set(JERRY_LINE_INFO OFF CACHE BOOL "Enable line info?") -set(JERRY_LOGGING OFF CACHE BOOL "Enable logging?") +set(JERRY_FUNCTION_TO_STRING ON CACHE BOOL "Enable function toString operation?") +set(JERRY_LINE_INFO ON CACHE BOOL "Enable line info?") +set(JERRY_LOGGING ON CACHE BOOL "Enable logging?") set(JERRY_MEM_STATS OFF CACHE BOOL "Enable memory statistics?") set(JERRY_MEM_GC_BEFORE_EACH_ALLOC OFF CACHE BOOL "Enable mem-stress test?") set(JERRY_PARSER_DUMP_BYTE_CODE OFF CACHE BOOL "Enable parser byte-code dumps?") set(JERRY_PROFILE "es.next" CACHE STRING "Use default or other profile?") -set(JERRY_PROMISE_CALLBACK OFF CACHE BOOL "Enable Promise callbacks?") +set(JERRY_PROMISE_CALLBACK ON CACHE BOOL "Enable Promise callbacks?") set(JERRY_REGEXP_STRICT_MODE OFF CACHE BOOL "Enable regexp strict mode?") set(JERRY_REGEXP_DUMP_BYTE_CODE OFF CACHE BOOL "Enable regexp byte-code dumps?") set(JERRY_SNAPSHOT_EXEC OFF CACHE BOOL "Enable executing snapshot files?") set(JERRY_SNAPSHOT_SAVE OFF CACHE BOOL "Enable saving snapshot files?") -set(JERRY_SYSTEM_ALLOCATOR OFF CACHE BOOL "Enable system allocator?") +set(JERRY_SYSTEM_ALLOCATOR ON CACHE BOOL "Enable system allocator?") set(JERRY_VALGRIND OFF CACHE BOOL "Enable Valgrind support?") -set(JERRY_VM_HALT OFF CACHE BOOL "Enable VM execution stop callback?") -set(JERRY_VM_THROW OFF CACHE BOOL "Enable VM throw callback?") -set(JERRY_GLOBAL_HEAP_SIZE "(512)" CACHE STRING "Size of memory heap, in kilobytes") +set(JERRY_VM_HALT ON CACHE BOOL "Enable VM execution stop callback?") +set(JERRY_VM_THROW ON CACHE BOOL "Enable VM throw callback?") +set(JERRY_GLOBAL_HEAP_SIZE "(3072)" CACHE STRING "Size of memory heap, in kilobytes") set(JERRY_GC_LIMIT "(0)" CACHE STRING "Heap usage limit to trigger garbage collection") set(JERRY_STACK_LIMIT "(0)" CACHE STRING "Maximum stack usage size, in kilobytes") -set(JERRY_GC_MARK_LIMIT "(8)" CACHE STRING "Maximum depth of recursion during GC mark phase") +set(JERRY_GC_MARK_LIMIT "(32)" CACHE STRING "Maximum depth of recursion during GC mark phase") # Option overrides if(JERRY_SYSTEM_ALLOCATOR)