mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-46841: Use inline caching for COMPARE_OP
(GH-31622)
This commit is contained in:
parent
df9f759755
commit
7820a5897e
9 changed files with 179 additions and 163 deletions
|
@ -125,7 +125,7 @@ def_op('BUILD_LIST', 103) # Number of list items
|
|||
def_op('BUILD_SET', 104) # Number of set items
|
||||
def_op('BUILD_MAP', 105) # Number of dict entries
|
||||
name_op('LOAD_ATTR', 106) # Index in name list
|
||||
def_op('COMPARE_OP', 107) # Comparison operator
|
||||
def_op('COMPARE_OP', 107, 2) # Comparison operator
|
||||
hascompare.append(107)
|
||||
name_op('IMPORT_NAME', 108) # Index in name list
|
||||
name_op('IMPORT_FROM', 109) # Index in name list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue