intel / zephyr.js

JavaScript* Runtime for Zephyr* OS
Other
180 stars 65 forks source link

[snapshot] Fixed incorrect snapshot size #1889

Closed jimmy-huang closed 6 years ago

jimmy-huang commented 6 years ago

JerryScript updated the generate_snapshot API to return a jerry_value instead of the size, so if you directly use the size returned, it will be incorrect.

Fixes #1888

Signed-off-by: Jimmy Huang jimmy.huang@intel.com

jimmy-huang commented 6 years ago

updated patch to fix #1890 as well

grgustaf commented 6 years ago

+1