Support multiple primary functions in a single snapshot. (#1797)
This patch adds an extension to snapshots which allows storing multiple position independent primary functions in a single snapshot data. A new application called jerry-snapshot is added to the project to manage snapshots. Currently the only option is merging snapshots. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -68,3 +68,8 @@ if(JERRY_CMDLINE_MINIMAL)
|
||||
jerry_create_executable("jerry-minimal" "main-unix-minimal.c")
|
||||
target_link_libraries("jerry-minimal" jerry-port-default-minimal)
|
||||
endif()
|
||||
|
||||
if(JERRY_CMDLINE_SNAPSHOT)
|
||||
jerry_create_executable("jerry-snapshot" "main-unix-snapshot.c" "cli.c")
|
||||
target_link_libraries("jerry-snapshot" jerry-port-default)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user