Adding configuration option for ECMA exception support.
This commit is contained in:
1 parent
4d34bab9a0
commit
dafbaa742e
4 files changed
+41
-10
No files matched your search
@@ -94,10 +94,12 @@ run_int (void)
|
||||
/* SyntaxError should be treated as an early error */
|
||||
JERRY_UNREACHABLE ();
|
||||
}
|
||||
#ifdef CONFIG_ECMA_EXCEPTION_SUPPORT
|
||||
case ECMA_COMPLETION_TYPE_THROW:
|
||||
{
|
||||
jerry_exit (ERR_UNHANDLED_EXCEPTION);
|
||||
}
|
||||
#endif /* CONFIG_ECMA_EXCEPTION_SUPPORT */
|
||||
}
|
||||
|
||||
JERRY_UNREACHABLE ();
|
||||
|
||||
Reference in new issue
Block a user