mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Fix empty call cache check for debug counter
This commit is contained in:
parent
d8be7d463d
commit
c617495f8e
@ -1912,7 +1912,7 @@ vm_search_method_slowpath0(VALUE cd_owner, struct rb_call_data *cd, VALUE klass)
|
||||
if (cd_owner && cc != empty_cc) RB_OBJ_WRITTEN(cd_owner, Qundef, cc);
|
||||
|
||||
#if USE_DEBUG_COUNTER
|
||||
if (old_cc == &empty_cc) {
|
||||
if (old_cc == empty_cc) {
|
||||
// empty
|
||||
RB_DEBUG_COUNTER_INC(mc_inline_miss_empty);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user