summaryrefslogtreecommitdiffstats
path: root/insnhelper.ci
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-09 01:43:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-09 01:43:57 +0000
commit516b4013dfe7731039285afe54fe9eb0a9df77e3 (patch)
treea092557546ad4aaffbf553dc33572a8e67c044ef /insnhelper.ci
parent776ee0c2029d50dbaa6746ea2a441222bf03acca (diff)
downloadruby-516b4013dfe7731039285afe54fe9eb0a9df77e3.tar.gz
ruby-516b4013dfe7731039285afe54fe9eb0a9df77e3.tar.xz
ruby-516b4013dfe7731039285afe54fe9eb0a9df77e3.zip
* eval.c (send_internal): use self in the previous frame to check for
protected methods. [ruby-core:13254] * insnhelper.ci (vm_call_method): send! method has gone. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insnhelper.ci')
-rw-r--r--insnhelper.ci2
1 files changed, 1 insertions, 1 deletions
diff --git a/insnhelper.ci b/insnhelper.ci
index c8d18ce4c..bfbbe6f41 100644
--- a/insnhelper.ci
+++ b/insnhelper.ci
@@ -547,7 +547,7 @@ vm_call_method(rb_thread_t *th, rb_control_frame_t *cfp,
val = vm_method_missing(th, id, recv, num, blockptr, stat);
}
else if (((mn->nd_noex & NOEX_MASK) & NOEX_PROTECTED) &&
- !(flag & VM_CALL_SEND_BANG_BIT)) {
+ !(flag & VM_CALL_SEND_BIT)) {
VALUE defined_class = mn->nd_clss;
if (TYPE(defined_class) == T_ICLASS) {