aboutsummaryrefslogtreecommitdiffstats
path: root/vm_eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_eval.c b/vm_eval.c
index cd8e75a657..5300f704ca 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -198,8 +198,8 @@ vm_call0_body(rb_thread_t* th, rb_call_info_t *ci, const VALUE *argv)
case VM_METHOD_TYPE_REFINED:
{
const rb_method_type_t type = ci->me->def->type;
- if (type == VM_METHOD_TYPE_REFINED && ci->me->def->body.orig_me) {
- ci->me = ci->me->def->body.orig_me;
+ if (type == VM_METHOD_TYPE_REFINED && ci->me->def->body.refined.orig_me) {
+ ci->me = ci->me->def->body.refined.orig_me;
goto again;
}