Skip to content

Commit 4d8eaa9

Browse files
committed
YJIT: Rename send_iseq_forwarding->send_forwarding
It's in gen_send_general(), so nothing specifically to do with iseqs.
1 parent cde065c commit 4d8eaa9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

yjit/src/codegen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9009,7 +9009,7 @@ fn gen_send_general(
90099009

90109010
// Dynamic stack layout. No good way to support without inlining.
90119011
if ci_flags & VM_CALL_FORWARDING != 0 {
9012-
gen_counter_incr(jit, asm, Counter::send_iseq_forwarding);
9012+
gen_counter_incr(jit, asm, Counter::send_forwarding);
90139013
return None;
90149014
}
90159015

yjit/src/stats.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ make_counters! {
358358

359359
// Method calls that fallback to dynamic dispatch
360360
send_singleton_class,
361+
send_forwarding,
361362
send_ivar_set_method,
362363
send_zsuper_method,
363364
send_undef_method,
@@ -385,7 +386,6 @@ make_counters! {
385386
send_iseq_block_arg_type,
386387
send_iseq_clobbering_block_arg,
387388
send_iseq_complex_discard_extras,
388-
send_iseq_forwarding,
389389
send_iseq_leaf_builtin_block_arg_block_param,
390390
send_iseq_kw_splat_non_nil,
391391
send_iseq_kwargs_mismatch,

0 commit comments

Comments
 (0)