YJIT: Make num_contexts_encoded a default counter

This commit is contained in:
Takashi Kokubun 2024-06-11 10:17:41 -07:00
Родитель c735f4947e
Коммит ec1ea2c5b9
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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,