Improve the vm_loop suspending for exec operations (#2589)

Exec operations{call, construct, super_call} related bytecode sequences no longer executed twice.
The execution continues with the next opcode or a specific bytecode sequence if an error occurs during the operation.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
Robert Fancsik
2018-12-06 15:36:26 +01:00
committed by László Langó
parent 79b2df124e
commit 101f62ce9d
5 changed files with 163 additions and 158 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ typedef struct vm_frame_ctx_t
ecma_object_t *lex_env_p; /**< current lexical environment */
struct vm_frame_ctx_t *prev_context_p; /**< previous context */
ecma_value_t this_binding; /**< this binding */
ecma_value_t call_block_result; /**< preserve block result during a call */
ecma_value_t block_result; /**< block result */
#ifdef JERRY_ENABLE_LINE_INFO
ecma_value_t resource_name; /**< current resource name (usually a file name) */
uint32_t current_line; /**< currently executed line */