summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 7cb60aa2db..d032307269 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -145,6 +145,12 @@ enum ruby_tag_type {
#define TAG_FATAL RUBY_TAG_FATAL
#define TAG_MASK RUBY_TAG_MASK
+enum ruby_vm_throw_flags {
+ VM_THROW_NO_ESCAPE_FLAG = 0x8000,
+ VM_THROW_LEVEL_SHIFT = 16,
+ VM_THROW_STATE_MASK = 0xff
+};
+
/* iseq data type */
struct iseq_compile_data_ensure_node_stack;