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:
@@ -119,6 +119,7 @@ project (Jerry CXX C ASM)
|
||||
COMPACT_PROFILE
|
||||
COMPACT_PROFILE_MINIMAL
|
||||
FULL_PROFILE
|
||||
MINIMAL_FOOTPRINT
|
||||
MEMORY_STATISTICS)
|
||||
|
||||
# Profiles
|
||||
@@ -131,6 +132,9 @@ project (Jerry CXX C ASM)
|
||||
# Minimal compact profile
|
||||
set(MODIFIER_SUFFIX_COMPACT_PROFILE_MINIMAL -cp_minimal)
|
||||
|
||||
# Minimal footprint
|
||||
set(MODIFIER_SUFFIX_MINIMAL_FOOTPRINT -mfp)
|
||||
|
||||
# Memory statistics
|
||||
set(MODIFIER_SUFFIX_MEMORY_STATISTICS -mem_stats)
|
||||
|
||||
@@ -140,7 +144,10 @@ project (Jerry CXX C ASM)
|
||||
"FULL_PROFILE"
|
||||
"COMPACT_PROFILE"
|
||||
"COMPACT_PROFILE_MINIMAL"
|
||||
"FULL_PROFILE MINIMAL_FOOTPRINT"
|
||||
"FULL_PROFILE MINIMAL_FOOTPRINT MEMORY_STATISTICS"
|
||||
"FULL_PROFILE MEMORY_STATISTICS"
|
||||
"COMPACT_PROFILE_MINIMAL MINIMAL_FOOTPRINT"
|
||||
"COMPACT_PROFILE_MINIMAL MEMORY_STATISTICS")
|
||||
|
||||
# MCU
|
||||
|
||||
Reference in New Issue
Block a user