summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--insns.def2
-rw-r--r--vm_insnhelper.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/insns.def b/insns.def
index 7f90e2ff60..df30e55d6e 100644
--- a/insns.def
+++ b/insns.def
@@ -949,7 +949,7 @@ invokesuper
vm_caller_setup_arg_block(th, reg_cfp, &calling, ci, blockiseq, TRUE);
calling.recv = GET_SELF();
- vm_search_super_method(th, GET_CFP(), &calling, ci, cc);
+ vm_search_super_method(th->ec, GET_CFP(), &calling, ci, cc);
CALL_METHOD(&calling, ci, cc);
}
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 3821babe1b..e4f79c5985 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -2430,7 +2430,7 @@ vm_super_outside(void)
}
static void
-vm_search_super_method(rb_thread_t *th, rb_control_frame_t *reg_cfp,
+vm_search_super_method(const rb_execution_context_t *ec, rb_control_frame_t *reg_cfp,
struct rb_calling_info *calling, struct rb_call_info *ci, struct rb_call_cache *cc)
{
VALUE current_defined_class, klass;