From 4155206ebdc3aad0aafec2097c1cd42935397b82 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 9 Nov 2007 01:43:57 +0000 Subject: * 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 --- insnhelper.ci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'insnhelper.ci') 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) { -- cgit v1.2.3