From 1b8ff4f799ba47d77b80a48e7504f49ddfd35239 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 20 Jul 2015 00:08:23 +0000 Subject: 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 --- vm_core.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vm_core.h') 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; -- cgit v1.2.3