Skip to content

Commit

Permalink
Revert "YJIT: Fix naming for a getblockparamproxy counter"
Browse files Browse the repository at this point in the history
This reverts commit e780496.
Oops. The counter was for getblockparam, without "proxy", so
it was aptly named.
  • Loading branch information
XrXr committed Jul 26, 2023
1 parent 2f1ec2b commit 9eb7860
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yjit/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion yjit/src/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9eb7860

Please sign in to comment.