summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2023-07-26 13:15:10 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2023-07-26 13:58:15 -0400
commit37160be439c9a368c206b2eec713820dc97e4e0f (patch)
treecfaa230b407d6cf8f37147ee623660e62946f254
parent499eb3990faeaac2603787f2a41b2d9625e180dc (diff)
YJIT: Fix naming for a getblockparamproxy counter
The rest of the counters are prefixed with `gbpp_` and that's what `yjit.rb` uses when printing the summary. This counter wasn't included in the summary.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8121
-rw-r--r--yjit/src/codegen.rs2
-rw-r--r--yjit/src/stats.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index 6f5f20769d..6c36a28c6a 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -7890,7 +7890,7 @@ fn gen_getblockparam(
asm.test(flags_opnd, VM_ENV_FLAG_WB_REQUIRED.into());
// if (flags & VM_ENV_FLAG_WB_REQUIRED) != 0
- asm.jnz(Target::side_exit(Counter::gbp_wb_required));
+ asm.jnz(Target::side_exit(Counter::gbpp_wb_required));
// Convert the block handler in to a proc
// call rb_vm_bh_to_procval(const rb_execution_context_t *ec, VALUE block_handler)
diff --git a/yjit/src/stats.rs b/yjit/src/stats.rs
index f7bb5c4f33..a58d232f56 100644
--- a/yjit/src/stats.rs
+++ b/yjit/src/stats.rs
@@ -355,7 +355,7 @@ make_counters! {
expandarray_not_array,
expandarray_rhs_too_small,
- gbp_wb_required,
+ gbpp_wb_required,
gbpp_not_gc_guarded,
gbpp_block_param_modified,
gbpp_block_handler_not_none,