summaryrefslogtreecommitdiff
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
commit4155206ebdc3aad0aafec2097c1cd42935397b82 (patch)
treea092557546ad4aaffbf553dc33572a8e67c044ef /insnhelper.ci
parent9a0e440b810a10efa5db716a5df36dd9d9229567 (diff)
* 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: svn+ssh://ci.ruby-lang.org/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 c8d18ce4c8..bfbbe6f418 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) {