diff options
author | Takashi Kokubun <[email protected]> | 2024-06-11 10:17:41 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2024-06-11 10:17:41 -0700 |
commit | ec1ea2c5b941d5ff94013772a0dba905f8fe5c78 (patch) | |
tree | 8c07f8b23b6ab5a061dbe25156a4059185ce438b /yjit/src | |
parent | c735f4947ee0fd770f01a64e83faabefe005e9d4 (diff) |
YJIT: Make num_contexts_encoded a default counter
Diffstat (limited to 'yjit/src')
-rw-r--r-- | yjit/src/stats.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yjit/src/stats.rs b/yjit/src/stats.rs index 726e201b95..96c501abe3 100644 --- a/yjit/src/stats.rs +++ b/yjit/src/stats.rs @@ -266,7 +266,7 @@ macro_rules! make_counters { /// The list of counters that are available without --yjit-stats. /// They are incremented only by `incr_counter!` and don't use `gen_counter_incr`. -pub const DEFAULT_COUNTERS: [Counter; 17] = [ +pub const DEFAULT_COUNTERS: [Counter; 18] = [ Counter::code_gc_count, Counter::compiled_iseq_entry, Counter::cold_iseq_entry, @@ -276,6 +276,7 @@ pub const DEFAULT_COUNTERS: [Counter; 17] = [ Counter::compiled_branch_count, Counter::compile_time_ns, Counter::max_inline_versions, + Counter::num_contexts_encoded, Counter::invalidation_count, Counter::invalidate_method_lookup, |