mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
MJIT: Remove obsoleted MJIT counters
This commit is contained in:
parent
12916e283f
commit
57cb4a8179
5 changed files with 1 additions and 77 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue