summaryrefslogtreecommitdiffstats
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2021-06-08 22:01:34 (GMT)
committerGitHub <noreply@github.com>2021-06-08 22:01:34 (GMT)
commit3e1c7167d86a2a928cdcb659094aa10bb5550c4c (patch)
treeb3b071ff5636c7c5edd8d536b8732c6a2259a44c /Include/opcode.h
parentab36b9f83424a020fbd672f218612e6f19257a32 (diff)
downloadcpython-3e1c7167d86a2a928cdcb659094aa10bb5550c4c.zip
cpython-3e1c7167d86a2a928cdcb659094aa10bb5550c4c.tar.gz
cpython-3e1c7167d86a2a928cdcb659094aa10bb5550c4c.tar.bz2
bpo-43693: Un-revert commit f3fa63e. (#26609)
This was reverted in GH-26596 (commit 6d518bb) due to some bad memory accesses. * Add the MAKE_CELL opcode. (gh-26396) The memory accesses have been fixed. https://bugs.python.org/issue43693
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index a3a8b2a..c65e2f4 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -113,10 +113,11 @@ extern "C" {
#define CALL_FUNCTION 131
#define MAKE_FUNCTION 132
#define BUILD_SLICE 133
-#define LOAD_CLOSURE 135
-#define LOAD_DEREF 136
-#define STORE_DEREF 137
-#define DELETE_DEREF 138
+#define MAKE_CELL 135
+#define LOAD_CLOSURE 136
+#define LOAD_DEREF 137
+#define STORE_DEREF 138
+#define DELETE_DEREF 139
#define CALL_FUNCTION_KW 141
#define CALL_FUNCTION_EX 142
#define EXTENDED_ARG 144