mirror of
https://github.com/python/cpython.git
synced 2025-08-24 10:45:53 +00:00
GH-100982: Break up COMPARE_AND_BRANCH (GH-102801)
This commit is contained in:
parent
bd063756b3
commit
0444ae2487
18 changed files with 377 additions and 479 deletions
|
@ -191,8 +191,6 @@ hasfree.append(138)
|
|||
def_op('DELETE_DEREF', 139)
|
||||
hasfree.append(139)
|
||||
jrel_op('JUMP_BACKWARD', 140) # Number of words to skip (backwards)
|
||||
def_op('COMPARE_AND_BRANCH', 141) # Comparison and jump
|
||||
hascompare.append(141)
|
||||
|
||||
def_op('CALL_FUNCTION_EX', 142) # Flags
|
||||
|
||||
|
@ -314,10 +312,10 @@ _specializations = {
|
|||
"CALL_NO_KW_TUPLE_1",
|
||||
"CALL_NO_KW_TYPE_1",
|
||||
],
|
||||
"COMPARE_AND_BRANCH": [
|
||||
"COMPARE_AND_BRANCH_FLOAT",
|
||||
"COMPARE_AND_BRANCH_INT",
|
||||
"COMPARE_AND_BRANCH_STR",
|
||||
"COMPARE_OP": [
|
||||
"COMPARE_OP_FLOAT",
|
||||
"COMPARE_OP_INT",
|
||||
"COMPARE_OP_STR",
|
||||
],
|
||||
"FOR_ITER": [
|
||||
"FOR_ITER_LIST",
|
||||
|
@ -392,9 +390,6 @@ _cache_format = {
|
|||
"COMPARE_OP": {
|
||||
"counter": 1,
|
||||
},
|
||||
"COMPARE_AND_BRANCH": {
|
||||
"counter": 1,
|
||||
},
|
||||
"BINARY_SUBSCR": {
|
||||
"counter": 1,
|
||||
"type_version": 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue