vm_search_super_method() accepts ec
instead of th
.
* vm_insnhelper.c (vm_search_super_method): accepts `ec` instead of `th`. Surprisingly, it doesn't use `th` (now `ec`) so this patch is for the future extension. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b5101cbb23
commit
ac58719ab3
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user