mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
GH-105229: Replace some superinstructions with single instruction equivalent. (GH-105230)
This commit is contained in:
parent
e8ecb9ee6b
commit
0689340366
17 changed files with 731 additions and 686 deletions
|
|
@ -222,6 +222,9 @@ def_op('SET_UPDATE', 163)
|
|||
def_op('DICT_MERGE', 164)
|
||||
def_op('DICT_UPDATE', 165)
|
||||
|
||||
def_op('LOAD_FAST_LOAD_FAST', 168)
|
||||
def_op('STORE_FAST_LOAD_FAST', 169)
|
||||
def_op('STORE_FAST_STORE_FAST', 170)
|
||||
def_op('CALL', 171)
|
||||
def_op('KW_NAMES', 172)
|
||||
hasconst.append(172)
|
||||
|
|
@ -411,7 +414,6 @@ _specializations = {
|
|||
],
|
||||
"LOAD_FAST": [
|
||||
"LOAD_FAST__LOAD_CONST",
|
||||
"LOAD_FAST__LOAD_FAST",
|
||||
],
|
||||
"LOAD_GLOBAL": [
|
||||
"LOAD_GLOBAL_BUILTIN",
|
||||
|
|
@ -422,10 +424,6 @@ _specializations = {
|
|||
"STORE_ATTR_SLOT",
|
||||
"STORE_ATTR_WITH_HINT",
|
||||
],
|
||||
"STORE_FAST": [
|
||||
"STORE_FAST__LOAD_FAST",
|
||||
"STORE_FAST__STORE_FAST",
|
||||
],
|
||||
"STORE_SUBSCR": [
|
||||
"STORE_SUBSCR_DICT",
|
||||
"STORE_SUBSCR_LIST_INT",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue