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:
Ruben Ayrapetyan
2015-04-24 13:49:32 +03:00
parent 7d90d8caba
commit 9b0125086f
3 changed files with 13 additions and 1 deletions
+5
View File
@@ -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)