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:
1 parent
ddb2e6e9d5
commit
b529fc2da9
5 files changed
+42
-32
No files matched your search
@@ -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