diff options
author | Alan Wu <[email protected]> | 2025-01-10 17:26:11 -0500 |
---|---|---|
committer | Alan Wu <[email protected]> | 2025-01-10 18:03:31 -0500 |
commit | 4d8eaa9e458d62499dc60a2af901ab8c09a75aef (patch) | |
tree | ce97a67f8a1da744336a54edd999a49df27d19af | |
parent | cde065c32c8db34eaf2c6b8646a2d4a34e20a3ec (diff) |
YJIT: Rename send_iseq_forwarding->send_forwarding
It's in gen_send_general(), so nothing specifically to do with iseqs.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12550
-rw-r--r-- | yjit/src/codegen.rs | 2 | ||||
-rw-r--r-- | yjit/src/stats.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index f68b1d8da2..41f9fb9209 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -9009,7 +9009,7 @@ fn gen_send_general( // Dynamic stack layout. No good way to support without inlining. if ci_flags & VM_CALL_FORWARDING != 0 { - gen_counter_incr(jit, asm, Counter::send_iseq_forwarding); + gen_counter_incr(jit, asm, Counter::send_forwarding); return None; } diff --git a/yjit/src/stats.rs b/yjit/src/stats.rs index aa0b3d528c..34fdc0f63c 100644 --- a/yjit/src/stats.rs +++ b/yjit/src/stats.rs @@ -358,6 +358,7 @@ make_counters! { // Method calls that fallback to dynamic dispatch send_singleton_class, + send_forwarding, send_ivar_set_method, send_zsuper_method, send_undef_method, @@ -385,7 +386,6 @@ make_counters! { send_iseq_block_arg_type, send_iseq_clobbering_block_arg, send_iseq_complex_discard_extras, - send_iseq_forwarding, send_iseq_leaf_builtin_block_arg_block_param, send_iseq_kw_splat_non_nil, send_iseq_kwargs_mismatch, |