mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
SF bug 1442442: LIST_APPEND optimization got lost in the AST merge.
Add it back.
This commit is contained in:
parent
d4e3035701
commit
10be2ea85d
3 changed files with 22 additions and 22 deletions
|
|
@ -744,6 +744,7 @@ class StackDepthTracker:
|
|||
effect = {
|
||||
'POP_TOP': -1,
|
||||
'DUP_TOP': 1,
|
||||
'LIST_APPEND': -2,
|
||||
'SLICE+1': -1,
|
||||
'SLICE+2': -1,
|
||||
'SLICE+3': -2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue