mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix empty call cache check for debug counter
This commit is contained in:
parent
d8be7d463d
commit
c617495f8e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue