summaryrefslogtreecommitdiffstats
path: root/Python/specialize.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2024-08-22 13:17:10 (GMT)
committerGitHub <noreply@github.com>2024-08-22 13:17:10 (GMT)
commita3d8c0542ea093c0e3e12b2839371cfc07463376 (patch)
tree344c78012dc732d75da5efab75854095c856ed44 /Python/specialize.c
parent3d7b1a526d858496add5b188c790b8d5fe73b06b (diff)
downloadcpython-a3d8c0542ea093c0e3e12b2839371cfc07463376.zip
cpython-a3d8c0542ea093c0e3e12b2839371cfc07463376.tar.gz
cpython-a3d8c0542ea093c0e3e12b2839371cfc07463376.tar.bz2
GH-123197: Only count an instruction as deferred if it hasn't deopted first. (GH-123222)
Only count an instruction as deferred if hasn't deopted first.
Diffstat (limited to 'Python/specialize.c')
-rw-r--r--Python/specialize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/specialize.c b/Python/specialize.c
index 26965fe..82f1a88 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -116,6 +116,7 @@ _Py_GetSpecializationStats(void) {
err += add_stat_dict(stats, STORE_SUBSCR, "store_subscr");
err += add_stat_dict(stats, STORE_ATTR, "store_attr");
err += add_stat_dict(stats, CALL, "call");
+ err += add_stat_dict(stats, CALL_KW, "call_kw");
err += add_stat_dict(stats, BINARY_OP, "binary_op");
err += add_stat_dict(stats, COMPARE_OP, "compare_op");
err += add_stat_dict(stats, UNPACK_SEQUENCE, "unpack_sequence");