diff Include/opcode.h @ 50204:94e79d78dff0 legacy-trunk

Issue #2183: Simplify and optimize bytecode for list comprehensions.
author Antoine Pitrou <solipsis@pitrou.net>
date Wed, 17 Dec 2008 00:38:28 +0000
parents 07aa19170a67
children ef8fe9088696
line wrap: on
line diff
--- a/Include/opcode.h	Tue Dec 16 03:35:28 2008 +0000
+++ b/Include/opcode.h	Wed Dec 17 00:38:28 2008 +0000
@@ -22,7 +22,6 @@
 
 #define UNARY_INVERT	15
 
-#define LIST_APPEND	18
 #define BINARY_POWER	19
 
 #define BINARY_MULTIPLY	20
@@ -89,6 +88,7 @@
 #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	/* "" */