summaryrefslogtreecommitdiffstats
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2008-12-17 00:38:28 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2008-12-17 00:38:28 (GMT)
commitd0c3515bc5b31a19d00bfc685d7657ad7d79fa94 (patch)
tree299253e76cf9b66349bdaf0cca8c95da19671c74 /Include/opcode.h
parent43caaa09ea364aab6cbd7ede2aa9c3d004a129a5 (diff)
downloadcpython-d0c3515bc5b31a19d00bfc685d7657ad7d79fa94.zip
cpython-d0c3515bc5b31a19d00bfc685d7657ad7d79fa94.tar.gz
cpython-d0c3515bc5b31a19d00bfc685d7657ad7d79fa94.tar.bz2
Issue #2183: Simplify and optimize bytecode for list comprehensions.
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 9f20b56..5e6fba0 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -22,7 +22,6 @@ extern "C" {
#define UNARY_INVERT 15
-#define LIST_APPEND 18
#define BINARY_POWER 19
#define BINARY_MULTIPLY 20
@@ -89,6 +88,7 @@ extern "C" {
#define DELETE_NAME 91 /* "" */
#define UNPACK_SEQUENCE 92 /* Number of sequence items */
#define FOR_ITER 93
+#define LIST_APPEND 94
#define STORE_ATTR 95 /* Index in name list */
#define DELETE_ATTR 96 /* "" */