diff options
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_method.c b/vm_method.c index f87c52fc54..122c43556f 100644 --- a/vm_method.c +++ b/vm_method.c @@ -198,6 +198,8 @@ clear_method_cache_by_id_in_class(VALUE klass, ID mid) if (rb_id_table_lookup(vm->negative_cme_table, mid, (VALUE *)&cme)) { rb_id_table_delete(vm->negative_cme_table, mid); vm_me_invalidate_cache((rb_callable_method_entry_t *)cme); + + RB_DEBUG_COUNTER_INC(cc_invalidate_negative); } } } |