1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

a variable is not needed.

This commit is contained in:
Koichi Sasada 2021-11-16 17:52:20 +09:00
parent a982a1f1e7
commit 2d1a7bed03
Notes: git 2021-11-17 22:22:05 +09:00

View file

@ -3712,8 +3712,7 @@ vm_call_super_method(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp, st
RB_DEBUG_COUNTER_INC(ccf_super_method);
/* this check is required to distinguish with other functions. */
const struct rb_callcache *cc = calling->cc;
if (vm_cc_call(cc) != vm_call_super_method) rb_bug("bug");
VM_ASSERT(vm_cc_call(calling->cc) == vm_call_super_method);
return vm_call_method(ec, reg_cfp, calling);
}