diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2008-12-18 11:06:25 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2008-12-18 11:06:25 (GMT) |
commit | f289ae6f01683689dfd07785c9617175b40aea91 (patch) | |
tree | dd9a6f78817fcedbd95db286188507cf21a52bc0 /Lib/opcode.py | |
parent | 621601a698a285a45231a6fd223db33566dcb842 (diff) | |
download | cpython-f289ae6f01683689dfd07785c9617175b40aea91.zip cpython-f289ae6f01683689dfd07785c9617175b40aea91.tar.gz cpython-f289ae6f01683689dfd07785c9617175b40aea91.tar.bz2 |
Merged revisions 67818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r67818 | antoine.pitrou | 2008-12-17 01:38:28 +0100 (mer., 17 déc. 2008) | 3 lines
Issue #2183: Simplify and optimize bytecode for list comprehensions.
........
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index 5fd9c21..9484d1e 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -57,8 +57,6 @@ def_op('UNARY_NOT', 12) def_op('UNARY_INVERT', 15) -def_op('SET_ADD', 17) -def_op('LIST_APPEND', 18) def_op('BINARY_POWER', 19) def_op('BINARY_MULTIPLY', 20) @@ -169,4 +167,9 @@ def_op('CALL_FUNCTION_VAR_KW', 142) # #args + (#kwargs << 8) def_op('EXTENDED_ARG', 143) EXTENDED_ARG = 143 +def_op('LIST_APPEND', 145) +def_op('SET_ADD', 146) +def_op('MAP_ADD', 147) + + del def_op, name_op, jrel_op, jabs_op |