aboutsummaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-20 00:08:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-20 00:08:23 +0000
commit4cbd35d76d562f84f40e4b2764551637f4a854e0 (patch)
treeece7107088ba1e74eeb8fb163ccfa87f532b3d18 /vm_core.h
parent28b45d9731286c75a8719345bf8999a2c87fac62 (diff)
downloadruby-4cbd35d76d562f84f40e4b2764551637f4a854e0.tar.gz
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 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;