зеркало из https://github.com/github/ruby.git
Fix counter names
This commit is contained in:
Родитель
7704a6990a
Коммит
e48fc07d11
|
@ -3575,11 +3575,11 @@ gen_send_general(jitstate_t *jit, ctx_t *ctx, struct rb_call_data *cd, rb_iseq_t
|
|||
// Don't JIT calls that aren't simple
|
||||
// Note, not using VM_CALL_ARGS_SIMPLE because sometimes we pass a block.
|
||||
if ((vm_ci_flag(ci) & VM_CALL_ARGS_SPLAT) != 0) {
|
||||
GEN_COUNTER_INC(cb, send_callsite_args_splat);
|
||||
GEN_COUNTER_INC(cb, send_args_splat);
|
||||
return YJIT_CANT_COMPILE;
|
||||
}
|
||||
if ((vm_ci_flag(ci) & VM_CALL_KWARG) != 0) {
|
||||
GEN_COUNTER_INC(cb, send_kw_block_arg);
|
||||
GEN_COUNTER_INC(cb, send_keywords);
|
||||
return YJIT_CANT_COMPILE;
|
||||
}
|
||||
if ((vm_ci_flag(ci) & VM_CALL_ARGS_BLOCKARG) != 0) {
|
||||
|
@ -3754,11 +3754,11 @@ gen_invokesuper(jitstate_t* jit, ctx_t* ctx, codeblock_t* cb)
|
|||
// Don't JIT calls that aren't simple
|
||||
// Note, not using VM_CALL_ARGS_SIMPLE because sometimes we pass a block.
|
||||
if ((vm_ci_flag(ci) & VM_CALL_ARGS_SPLAT) != 0) {
|
||||
GEN_COUNTER_INC(cb, send_callsite_args_splat);
|
||||
GEN_COUNTER_INC(cb, send_args_splat);
|
||||
return YJIT_CANT_COMPILE;
|
||||
}
|
||||
if ((vm_ci_flag(ci) & VM_CALL_KWARG) != 0) {
|
||||
GEN_COUNTER_INC(cb, send_kw_block_arg);
|
||||
GEN_COUNTER_INC(cb, send_keywords);
|
||||
return YJIT_CANT_COMPILE;
|
||||
}
|
||||
if ((vm_ci_flag(ci) & VM_CALL_KW_SPLAT) != 0) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче