Processing unhandled exception by exiting engine with ERR_UNHANDLED_EXCEPTION; determining if function's code is strict by checking for appearance of 'meta' opcode of OPCODE_META_TYPE_STRICT_CODE type at the beginning of the function's code.
This commit is contained in:
@@ -56,6 +56,7 @@ typedef enum
|
||||
ERR_PARSER = -9,
|
||||
ERR_MEMORY = -10,
|
||||
ERR_SYSCALL = -11,
|
||||
ERR_UNHANDLED_EXCEPTION = -12,
|
||||
ERR_GENERAL = -255
|
||||
} jerry_status_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user