mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
GH-100982: Add COMPARE_AND_BRANCH
instruction (GH-100983)
This commit is contained in:
parent
b1a74a182d
commit
7b14c2ef19
17 changed files with 273 additions and 245 deletions
|
@ -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]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue