Introducing minimal footprint build modifier (mfp).
The modifier disables lookup cache and adds GC invocation after each opcode execution. JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
@@ -66,6 +66,11 @@ project (JerryCore CXX C ASM)
|
||||
CONFIG_ECMA_COMPACT_PROFILE_DISABLE_JSON_BUILTIN
|
||||
CONFIG_ECMA_COMPACT_PROFILE_DISABLE_REGEXP_BUILTIN)
|
||||
|
||||
# Minimal footprint
|
||||
set(DEFINES_MINIMAL_FOOTPRINT
|
||||
CONFIG_ECMA_LCACHE_DISABLE
|
||||
CONFIG_VM_RUN_GC_AFTER_EACH_OPCODE)
|
||||
|
||||
# Memory statistics
|
||||
set(DEFINES_MEMORY_STATISTICS MEM_STATS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user