mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
vm_argc.c (vm_caller_setup_arg_kw): "cfunc" argument is no longer used
This commit is contained in:
parent
030b8e5edf
commit
a23ddf7ff5
2 changed files with 2 additions and 2 deletions
|
@ -969,7 +969,7 @@ vm_caller_setup_arg_splat(rb_control_frame_t *cfp, struct rb_calling_info *calli
|
|||
}
|
||||
|
||||
static inline void
|
||||
vm_caller_setup_arg_kw(rb_control_frame_t *cfp, struct rb_calling_info *calling, const struct rb_call_info *ci, int cfunc)
|
||||
vm_caller_setup_arg_kw(rb_control_frame_t *cfp, struct rb_calling_info *calling, const struct rb_call_info *ci)
|
||||
{
|
||||
struct rb_call_info_with_kwarg *ci_kw = (struct rb_call_info_with_kwarg *)ci;
|
||||
const VALUE *const passed_keywords = ci_kw->kw_arg->keywords;
|
||||
|
|
|
@ -1746,7 +1746,7 @@ CALLER_SETUP_ARG(struct rb_control_frame_struct *restrict cfp,
|
|||
vm_caller_setup_arg_splat(cfp, calling);
|
||||
}
|
||||
if (UNLIKELY(IS_ARGS_KEYWORD(ci))) {
|
||||
vm_caller_setup_arg_kw(cfp, calling, ci, cfunc);
|
||||
vm_caller_setup_arg_kw(cfp, calling, ci);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue