summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2008-12-18 11:06:25 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2008-12-18 11:06:25 (GMT)
commitf289ae6f01683689dfd07785c9617175b40aea91 (patch)
treedd9a6f78817fcedbd95db286188507cf21a52bc0 /Include
parent621601a698a285a45231a6fd223db33566dcb842 (diff)
downloadcpython-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 'Include')
-rw-r--r--Include/opcode.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 6da9877..063ab6c 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -21,8 +21,6 @@ extern "C" {
#define UNARY_INVERT 15
-#define SET_ADD 17
-#define LIST_APPEND 18
#define BINARY_POWER 19
#define BINARY_MULTIPLY 20
@@ -133,6 +131,10 @@ extern "C" {
/* Support for opargs more than 16 bits long */
#define EXTENDED_ARG 143
+#define LIST_APPEND 145
+#define SET_ADD 146
+#define MAP_ADD 147
+
/* EXCEPT_HANDLER is a special, implicit block type which is created when
entering an except handler. It is not an opcode but we define it here