summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2023-07-26 18:22:23 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2023-07-27 15:03:46 -0400
commit34825ed20d25e6b06916876484c996caad036dd0 (patch)
tree64c956f2ef96f8ddeac86c9acdfa5ca972636e5b
parent69b20d1196f363b3990694951832408556b4ac04 (diff)
Revert "YJIT: Fix naming for a getblockparamproxy counter"
This reverts commit e7804963f09d7df7f6cce44fbb3e37809c9a15cc. Oops. The counter was for getblockparam, without "proxy", so it was aptly named.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8124
-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 4295eb1980..81798fdd43 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -7901,7 +7901,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::gbpp_wb_required));
+ asm.jnz(Target::side_exit(Counter::gbp_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 c10cc29dfb..c790a76f1b 100644
--- a/yjit/src/stats.rs
+++ b/yjit/src/stats.rs
@@ -355,7 +355,7 @@ make_counters! {
expandarray_not_array,
expandarray_rhs_too_small,
- gbpp_wb_required,
+ gbp_wb_required,
gbpp_not_gc_guarded,
gbpp_block_param_modified,
gbpp_block_handler_not_none,