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:
committed by
László Langó
parent
79b2df124e
commit
101f62ce9d
@@ -159,6 +159,7 @@ typedef enum
|
||||
VM_OC_CALL, /**< call */
|
||||
VM_OC_NEW, /**< new */
|
||||
VM_OC_RESOLVE_BASE_FOR_CALL, /**< resolve base value before call */
|
||||
VM_OC_ERROR, /**< error while the vm_loop is suspended */
|
||||
|
||||
VM_OC_JUMP, /**< jump */
|
||||
VM_OC_BRANCH_IF_STRICT_EQUAL, /**< branch if stric equal */
|
||||
|
||||
Reference in New Issue
Block a user