Skip to content

Commit

Permalink
YJIT: Remove unused counters
Browse files Browse the repository at this point in the history
  • Loading branch information
XrXr committed Feb 16, 2024
1 parent b4327c1 commit 018b448
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions yjit/src/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,15 +340,10 @@ make_counters! {
yjit_insns_count,

// Method calls that fallback to dynamic dispatch
send_keywords,
send_singleton_class,
send_args_splat_super,
send_block_arg,
send_ivar_set_method,
send_zsuper_method,
send_undef_method,
send_optimized_method,
send_optimized_method_call,
send_optimized_method_block_call,
send_call_block,
send_call_kwarg,
Expand All @@ -364,9 +359,7 @@ make_counters! {
send_cfunc_block_arg,
send_cfunc_toomany_args,
send_cfunc_tracing,
send_cfunc_kwargs,
send_cfunc_splat_with_kw,
send_cfunc_splat_send,
send_attrset_kwargs,
send_attrset_block_arg,
send_iseq_tailcall,
Expand All @@ -375,24 +368,19 @@ make_counters! {
send_iseq_clobbering_block_arg,
send_iseq_complex_discard_extras,
send_iseq_leaf_builtin_block_arg_block_param,
send_iseq_only_keywords,
send_iseq_kw_splat_non_nil,
send_iseq_kwargs_req_and_opt_missing,
send_iseq_kwargs_mismatch,
send_iseq_has_post,
send_iseq_has_no_kw,
send_iseq_accepts_no_kwarg,
send_iseq_materialized_block,
send_iseq_splat_not_array,
send_iseq_splat_with_opt,
send_iseq_splat_with_kw,
send_iseq_missing_optional_kw,
send_iseq_too_many_kwargs,
send_not_implemented_method,
send_getter_arity,
send_getter_block_arg,
send_args_splat_non_iseq,
send_args_splat_ivar,
send_args_splat_attrset,
send_args_splat_bmethod,
send_args_splat_aref,
Expand All @@ -401,17 +389,13 @@ make_counters! {
send_args_splat_cfunc_var_args,
send_iseq_splat_arity_error,
send_splat_too_long,
send_send_not_imm,
send_send_wrong_args,
send_send_null_mid,
send_send_null_cme,
send_send_nested,
send_send_chain_string,
send_send_getter,
send_send_builtin,
send_iseq_has_rest_and_captured,
send_iseq_has_kwrest_and_captured,
send_iseq_has_rest_and_splat,
send_iseq_has_rest_and_kw_supplied,
send_iseq_has_rest_opt_and_block,
send_bmethod_ractor,
Expand Down Expand Up @@ -469,15 +453,9 @@ make_counters! {
leave_se_interrupt,
leave_interp_return,

getivar_se_self_not_heap,
getivar_idx_out_of_range,
getivar_megamorphic,
getivar_not_heap,

setivar_se_self_not_heap,
setivar_idx_out_of_range,
setivar_val_heapobject,
setivar_name_not_mapped,
setivar_not_heap,
setivar_frozen,
setivar_megamorphic,
Expand Down Expand Up @@ -575,8 +553,6 @@ make_counters! {
invalidate_constant_state_bump,
invalidate_constant_ic_fill,

constant_state_bumps,

// Currently, it's out of the ordinary (might be impossible) for YJIT to leave gaps in
// executable memory, so this should be 0.
exec_mem_non_bump_alloc,
Expand Down

0 comments on commit 018b448

Please sign in to comment.