diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-03 20:29:11 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-03 20:29:11 (GMT) |
commit | 10be2ea85d081bc5b2b0529b76d104d749707394 (patch) | |
tree | 604dc31140bcabb8edafef4e3f3218797eed0c9e /Lib/compiler | |
parent | d4e30357016f0b2e2a5093d810b7edea33501cd3 (diff) | |
download | cpython-10be2ea85d081bc5b2b0529b76d104d749707394.zip cpython-10be2ea85d081bc5b2b0529b76d104d749707394.tar.gz cpython-10be2ea85d081bc5b2b0529b76d104d749707394.tar.bz2 |
SF bug 1442442: LIST_APPEND optimization got lost in the AST merge.
Add it back.
Diffstat (limited to 'Lib/compiler')
-rw-r--r-- | Lib/compiler/pyassem.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/compiler/pyassem.py b/Lib/compiler/pyassem.py index 5932ffe..b59661f 100644 --- a/Lib/compiler/pyassem.py +++ b/Lib/compiler/pyassem.py @@ -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, |