diff options
| author | Mark Shannon <mark@hotpy.org> | 2023-01-16 12:35:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-16 12:35:21 +0000 |
| commit | 7b14c2ef194b6eed79670aa9d7e29ab8e2256a56 (patch) | |
| tree | 794188d49a9f359cfa7663c25be587634f070f22 /Tools/scripts | |
| parent | b1a74a182d8762bda51838401ac92b6ebad9632a (diff) | |
| download | cpython-git-7b14c2ef194b6eed79670aa9d7e29ab8e2256a56.tar.gz | |
GH-100982: Add `COMPARE_AND_BRANCH` instruction (GH-100983)
Diffstat (limited to 'Tools/scripts')
| -rw-r--r-- | Tools/scripts/summarize_stats.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/scripts/summarize_stats.py b/Tools/scripts/summarize_stats.py index ce25374f3a..7789c4d3a1 100644 --- a/Tools/scripts/summarize_stats.py +++ b/Tools/scripts/summarize_stats.py @@ -228,6 +228,8 @@ def kind_to_text(kind, defines, opname): return pretty(defines[kind][0]) if opname.endswith("ATTR"): opname = "ATTR" + if opname in ("COMPARE_OP", "COMPARE_AND_BRANCH"): + opname = "COMPARE" if opname.endswith("SUBSCR"): opname = "SUBSCR" for name in defines[kind]: |
