summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c4
1 files changed, 3 insertions, 1 deletions
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;