diff options
Diffstat (limited to 'vm_method.c')
-rw-r--r-- | vm_method.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vm_method.c b/vm_method.c index 278941aefa..20873713e6 100644 --- a/vm_method.c +++ b/vm_method.c @@ -85,9 +85,6 @@ rb_clear_cache_by_class(VALUE klass) { struct cache_entry *ent, *end; - if (RCLASS_M_TBL(klass)->num_entries == 0) - return; - rb_vm_change_state(); if (!ruby_running) |