diff options
author | Takashi Kokubun <[email protected]> | 2022-12-06 23:01:30 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2022-12-06 23:05:00 -0800 |
commit | 57cb4a817916637eaeb4732f56c5aa5b748a4349 (patch) | |
tree | 1f1747b3a25c3e50c779ac5f34e3422a9748270c /debug_counter.c | |
parent | 12916e283fdeb87b84f09379c056614c6196615a (diff) |
MJIT: Remove obsoleted MJIT counters
Diffstat (limited to 'debug_counter.c')
-rw-r--r-- | debug_counter.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/debug_counter.c b/debug_counter.c index 0fd0e20c6d..cbaf15d496 100644 --- a/debug_counter.c +++ b/debug_counter.c @@ -56,17 +56,7 @@ void ruby_debug_counter_reset(void) { for (int i = 0; i < RB_DEBUG_COUNTER_MAX; i++) { - switch (i) { - case RB_DEBUG_COUNTER_mjit_length_unit_queue: - case RB_DEBUG_COUNTER_mjit_length_active_units: - case RB_DEBUG_COUNTER_mjit_length_compact_units: - case RB_DEBUG_COUNTER_mjit_length_stale_units: - // These counters may be decreased and should not be reset. - break; - default: - rb_debug_counter[i] = 0; - break; - } + rb_debug_counter[i] = 0; } } |