diff options
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index c4aca3a4f7..a64529fbb2 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -2019,8 +2019,8 @@ vm_call_method(rb_thread_t *th, rb_control_frame_t *cfp, rb_call_info_t *ci) } no_refinement_dispatch: - if (ci->me->def->body.orig_me) { - ci->me = ci->me->def->body.orig_me; + if (ci->me->def->body.refined.orig_me) { + ci->me = ci->me->def->body.refined.orig_me; if (UNDEFINED_METHOD_ENTRY_P(ci->me)) { ci->me = 0; } |