mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update yjit_codegen.c
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
This commit is contained in:
parent
201721b713
commit
35b37c5873
1 changed files with 2 additions and 1 deletions
|
@ -3822,7 +3822,8 @@ gen_send_general(jitstate_t *jit, ctx_t *ctx, struct rb_call_data *cd, rb_iseq_t
|
|||
if ((vm_ci_flag(ci) & VM_CALL_KWARG) != 0) {
|
||||
GEN_COUNTER_INC(cb, send_attrset_kwargs);
|
||||
return YJIT_CANT_COMPILE;
|
||||
} else if (argc != 1 || !RB_TYPE_P(comptime_recv, T_OBJECT)) {
|
||||
}
|
||||
else if (argc != 1 || !RB_TYPE_P(comptime_recv, T_OBJECT)) {
|
||||
GEN_COUNTER_INC(cb, send_ivar_set_method);
|
||||
return YJIT_CANT_COMPILE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue