summaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-28 14:17:28 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-28 14:17:28 +0000
commitba2e3913ff759ef2cee51b64fb60e8d38ad75944 (patch)
tree89dded96563521e4ba50035f99b4e17e15102127 /vm_core.h
parent95a7ec14b2735632977ca91fa88d7eda915eeaa0 (diff)
downloadruby-ba2e3913ff759ef2cee51b64fb60e8d38ad75944.tar.gz
ruby-ba2e3913ff759ef2cee51b64fb60e8d38ad75944.tar.xz
ruby-ba2e3913ff759ef2cee51b64fb60e8d38ad75944.zip
* insnhelper.ci (vm_call_method): allow send! to call protected
methods as well. [ruby-core:12280] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 7e01bfb99..69e9e1cd0 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -539,6 +539,7 @@ typedef struct {
#define VM_CALL_TAILRECURSION_BIT (0x01 << 6)
#define VM_CALL_SUPER_BIT (0x01 << 7)
#define VM_CALL_SEND_BIT (0x01 << 8)
+#define VM_CALL_SEND_BANG_BIT (0x01 << 9)
/* inline (method|const) cache */
#define NEW_INLINE_CACHE_ENTRY() NEW_WHILE(Qundef, 0, 0)