Update test__opcode and _Py_GetSpecializationStats with recent specialization stat changes (GH-27728)

This commit is contained in:
Irit Katriel 2021-08-11 17:34:01 +01:00 committed by GitHub
parent 08caf2d5d4
commit 64a7812c17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -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;