summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-20 00:08:23 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-20 00:08:23 (GMT)
commit1b8ff4f799ba47d77b80a48e7504f49ddfd35239 (patch)
treeece7107088ba1e74eeb8fb163ccfa87f532b3d18 /vm_core.h
parent46b70c8da5e3a355f20ebb3f90441336cca73cf1 (diff)
ruby_vm_throw_flags
* vm_core.h (ruby_vm_throw_flags): constants for throw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 7cb60aa..d032307 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;