summaryrefslogtreecommitdiffstats
path: root/Python/specialize.c
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2021-08-11 16:34:01 (GMT)
committerGitHub <noreply@github.com>2021-08-11 16:34:01 (GMT)
commit64a7812c170f5d46ef16a1517afddc7cd92c5240 (patch)
tree3c7dfd04fd56522f535a136c2956149eeb6b4555 /Python/specialize.c
parent08caf2d5d4a9994976e9eafaf345b5a1a4012a81 (diff)
downloadcpython-64a7812c170f5d46ef16a1517afddc7cd92c5240.zip
cpython-64a7812c170f5d46ef16a1517afddc7cd92c5240.tar.gz
cpython-64a7812c170f5d46ef16a1517afddc7cd92c5240.tar.bz2
Update test__opcode and _Py_GetSpecializationStats with recent specialization stat changes (GH-27728)
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 d0e45d7..f0d68f0 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -122,6 +122,7 @@ _Py_GetSpecializationStats(void) {
err += add_stat_dict(stats, LOAD_ATTR, "load_attr");
err += add_stat_dict(stats, LOAD_GLOBAL, "load_global");
err += add_stat_dict(stats, BINARY_SUBSCR, "binary_subscr");
+ err += add_stat_dict(stats, STORE_ATTR, "store_attr");
if (err < 0) {
Py_DECREF(stats);
return NULL;