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:
@@ -96,6 +96,11 @@ jerry_exit (jerry_status_t code) /**< status code */
|
||||
JERRY_UNREACHABLE();
|
||||
break;
|
||||
}
|
||||
case ERR_UNHANDLED_EXCEPTION:
|
||||
{
|
||||
__printf ("ERR_UNHANDLED_EXCEPTION\n");
|
||||
break;
|
||||
}
|
||||
case ERR_GENERAL:
|
||||
{
|
||||
__printf ("ERR_GENERAL\n");
|
||||
|
||||
Reference in New Issue
Block a user