mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-132815: Add support for JUMP_BACKWARD in specialization stats (#135606)
This commit is contained in:
parent
acc20a83f4
commit
a9e66a7c50
2 changed files with 2 additions and 0 deletions
|
@ -0,0 +1 @@
|
||||||
|
Fix test__opcode: add ``JUMP_BACKWARD`` to specialization stats.
|
|
@ -118,6 +118,7 @@ _Py_GetSpecializationStats(void) {
|
||||||
err += add_stat_dict(stats, LOAD_GLOBAL, "load_global");
|
err += add_stat_dict(stats, LOAD_GLOBAL, "load_global");
|
||||||
err += add_stat_dict(stats, STORE_SUBSCR, "store_subscr");
|
err += add_stat_dict(stats, STORE_SUBSCR, "store_subscr");
|
||||||
err += add_stat_dict(stats, STORE_ATTR, "store_attr");
|
err += add_stat_dict(stats, STORE_ATTR, "store_attr");
|
||||||
|
err += add_stat_dict(stats, JUMP_BACKWARD, "jump_backward");
|
||||||
err += add_stat_dict(stats, CALL, "call");
|
err += add_stat_dict(stats, CALL, "call");
|
||||||
err += add_stat_dict(stats, CALL_KW, "call_kw");
|
err += add_stat_dict(stats, CALL_KW, "call_kw");
|
||||||
err += add_stat_dict(stats, BINARY_OP, "binary_op");
|
err += add_stat_dict(stats, BINARY_OP, "binary_op");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue