Skip to content

Commit a9e66a7

Browse files
authored
gh-132815: Add support for JUMP_BACKWARD in specialization stats (#135606)
1 parent acc20a8 commit a9e66a7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix test__opcode: add ``JUMP_BACKWARD`` to specialization stats.

Python/specialize.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ _Py_GetSpecializationStats(void) {
118118
err += add_stat_dict(stats, LOAD_GLOBAL, "load_global");
119119
err += add_stat_dict(stats, STORE_SUBSCR, "store_subscr");
120120
err += add_stat_dict(stats, STORE_ATTR, "store_attr");
121+
err += add_stat_dict(stats, JUMP_BACKWARD, "jump_backward");
121122
err += add_stat_dict(stats, CALL, "call");
122123
err += add_stat_dict(stats, CALL_KW, "call_kw");
123124
err += add_stat_dict(stats, BINARY_OP, "binary_op");

0 commit comments

Comments
 (0)