aboutsummaryrefslogtreecommitdiff
path: root/jerry-core/ecma/base/ecma-globals.h
diff options
context:
space:
mode:
authorZoltan Herczeg <zherczeg.u-szeged@partner.samsung.com>2021-08-10 15:50:26 +0200
committerGitHub <noreply@github.com>2021-08-10 15:50:26 +0200
commit444806d78a5c7ccc22106cf2b00e2cc5c527638f (patch)
treec8e112724aac5a758d047815b1d296469a83b482 /jerry-core/ecma/base/ecma-globals.h
parentb6ec9275aa44a3c332cd2f37bb87a6677935456f (diff)
Implement vm_throw callback (#4726)
Slightly improve the description of vm_exec_stop callback. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
Diffstat (limited to 'jerry-core/ecma/base/ecma-globals.h')
-rw-r--r--jerry-core/ecma/base/ecma-globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/jerry-core/ecma/base/ecma-globals.h b/jerry-core/ecma/base/ecma-globals.h
index 717df03c..134b173b 100644
--- a/jerry-core/ecma/base/ecma-globals.h
+++ b/jerry-core/ecma/base/ecma-globals.h
@@ -63,6 +63,9 @@ typedef enum
ECMA_STATUS_EXCEPTION = (1u << 3), /**< last exception is a normal exception */
ECMA_STATUS_ABORT = (1u << 4), /**< last exception is an abort */
ECMA_STATUS_ERROR_UPDATE = (1u << 5), /**< the error_object_created_callback_p is called */
+#if JERRY_VM_THROW
+ ECMA_STATUS_ERROR_THROWN = (1u << 6), /**< the vm_throw_callback_p is called */
+#endif /* JERRY_VM_THROW */
} ecma_status_flag_t;
/**