summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-05-28 17:45:31 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-05-28 17:45:31 (GMT)
commit2c992a0788536087bfd78da8f2c62b30a461d7e2 (patch)
tree5067a52fec2f27f77594b535cdc29672ee30d9f7 /Include
parent78ba242403841104d40c330c3900912727ca0501 (diff)
downloadcpython-2c992a0788536087bfd78da8f2c62b30a461d7e2.zip
cpython-2c992a0788536087bfd78da8f2c62b30a461d7e2.tar.gz
cpython-2c992a0788536087bfd78da8f2c62b30a461d7e2.tar.bz2
backport computed gotos (#4753)
Diffstat (limited to 'Include')
-rw-r--r--Include/opcode.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 9764109..9ed5487 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -37,12 +37,21 @@ extern "C" {
#define SLICE 30
/* Also uses 31-33 */
+#define SLICE_1 31
+#define SLICE_2 32
+#define SLICE_3 33
#define STORE_SLICE 40
/* Also uses 41-43 */
+#define STORE_SLICE_1 41
+#define STORE_SLICE_2 42
+#define STORE_SLICE_3 43
#define DELETE_SLICE 50
/* Also uses 51-53 */
+#define DELETE_SLICE_1 51
+#define DELETE_SLICE_2 52
+#define DELETE_SLICE_3 53
#define STORE_MAP 54
#define INPLACE_ADD 55