Fix bug in vm call_stack_size calculation (#1345)
call_stack_size should be register_count + maximum stack depth * We don't add in the parser to save the size of snapshot header * jerry_snapshot_version 5 -> 6 JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com
This commit is contained in:
committed by
László Langó
parent
9c50570ca3
commit
86ac6445e8
@@ -37,6 +37,6 @@ typedef struct
|
||||
/**
|
||||
* Jerry snapshot format version
|
||||
*/
|
||||
#define JERRY_SNAPSHOT_VERSION (5u)
|
||||
#define JERRY_SNAPSHOT_VERSION (6u)
|
||||
|
||||
#endif /* !JERRY_SNAPSHOT_H */
|
||||
|
||||
Reference in New Issue
Block a user