mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
The -f and --generate-function-snapshot switch are added to the jerry-snapshot command line tool so the entire javascript input can be interpeted and loaded as a function snapshot. The function arguments must be given in the command line. Example: echo "return a + b;" > myfunc.js ./jerry-snapshot generate -f "a, b" myfunc.js JerryScript-DCO-1.0-Signed-off-by: Moe Ghasemi mghasemi@sierrawireless.com