GH-123197: Increment correct stat for CALL_KW (GH-123200)

This commit is contained in:
Mark Shannon 2024-08-21 12:52:28 +01:00 committed by GitHub
parent 1eba8bae92
commit 7b26c4d1e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -4194,7 +4194,7 @@ dummy_func(
_Py_Specialize_CallKw(callable, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
DISPATCH_SAME_OPARG();
}
STAT_INC(CALL, deferred);
STAT_INC(CALL_KW, deferred);
ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
#endif /* ENABLE_SPECIALIZATION */
}

View File

@ -1761,7 +1761,7 @@
_Py_Specialize_CallKw(callable, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
DISPATCH_SAME_OPARG();
}
STAT_INC(CALL, deferred);
STAT_INC(CALL_KW, deferred);
ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
#endif /* ENABLE_SPECIALIZATION */
}