From 3703ebbe84984bed338bcc6e57d276a7f33f546b Mon Sep 17 00:00:00 2001 From: shugo Date: Sat, 12 Dec 2015 15:08:52 +0000 Subject: * vm_insnhelper.c (vm_call_method_missing): method_missing should not be refined. [ruby-core:72080] [Bug #11809] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_insnhelper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vm_insnhelper.c') diff --git a/vm_insnhelper.c b/vm_insnhelper.c index cfa76ab6c9..2acf773b21 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1953,7 +1953,9 @@ vm_call_method_missing(rb_thread_t *th, rb_control_frame_t *reg_cfp, struct rb_c ci = &ci_entry; cc_entry = *orig_cc; - cc_entry.me = rb_callable_method_entry(CLASS_OF(calling->recv), idMethodMissing); + cc_entry.me = + rb_callable_method_entry_without_refinements(CLASS_OF(calling->recv), + idMethodMissing); cc = &cc_entry; calling->argc = argc; -- cgit v1.2.3