From 9eb78609be88e9749ad1e84c445343e635b4aa8f Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Wed, 26 Jul 2023 18:22:23 -0400 Subject: [PATCH] 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. --- yjit/src/codegen.rs | 2 +- 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 5156ba192c5a52..dffaa615ff3d41 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -7927,7 +7927,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 d4bc73ee5c2a67..098ba3d3111859 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_unsupported_type, gbpp_block_param_modified,