diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-03 20:29:11 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-03 20:29:11 +0000 |
commit | 37932a249957a12b3b7ee2e25c855d8aaf1e0235 (patch) | |
tree | f722870b3f5e1e7127d1da973fcf9ee0fa14cf69 /Lib/compiler | |
parent | 4dffebed4c542c9302febf849eba4880ac132268 (diff) | |
download | cpython-37932a249957a12b3b7ee2e25c855d8aaf1e0235.tar.gz |
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 5932ffe6d0..b59661f4e1 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, |