summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-12-08 11:48:30 (GMT)
committerGitHub <noreply@github.com>2023-12-08 11:48:30 (GMT)
commitaefdebdef16b8e9e6c1c2a0a54d6cb25bd8e28dc (patch)
tree3dd7ca452a837e7c1ce34f2cd56cc4d372dca4e5 /Include
parent15a80b15af9a0b0ebe6bd538a1919712ce7d4ef9 (diff)
downloadcpython-aefdebdef16b8e9e6c1c2a0a54d6cb25bd8e28dc.zip
cpython-aefdebdef16b8e9e6c1c2a0a54d6cb25bd8e28dc.tar.gz
cpython-aefdebdef16b8e9e6c1c2a0a54d6cb25bd8e28dc.tar.bz2
GH-111485: Factor out opcode ID generator from the main cases generator. (GH-112831)
Diffstat (limited to 'Include')
-rw-r--r--Include/opcode_ids.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Include/opcode_ids.h b/Include/opcode_ids.h
index ba25bd4..47f809e 100644
--- a/Include/opcode_ids.h
+++ b/Include/opcode_ids.h
@@ -1,6 +1,6 @@
-// This file is generated by Tools/cases_generator/generate_cases.py
+// This file is generated by Tools/cases_generator/opcode_id_generator.py
// from:
-// Python/bytecodes.c
+// ['./Python/bytecodes.c']
// Do not edit!
#ifndef Py_OPCODE_IDS_H
@@ -55,7 +55,6 @@ extern "C" {
#define UNARY_NEGATIVE 42
#define UNARY_NOT 43
#define WITH_EXCEPT_START 44
-#define HAVE_ARGUMENT 45
#define BINARY_OP 45
#define BUILD_CONST_KEY_MAP 46
#define BUILD_LIST 47
@@ -200,7 +199,6 @@ extern "C" {
#define UNPACK_SEQUENCE_LIST 216
#define UNPACK_SEQUENCE_TUPLE 217
#define UNPACK_SEQUENCE_TWO_TUPLE 218
-#define MIN_INSTRUMENTED_OPCODE 236
#define INSTRUMENTED_RESUME 236
#define INSTRUMENTED_END_FOR 237
#define INSTRUMENTED_END_SEND 238
@@ -233,6 +231,9 @@ extern "C" {
#define SETUP_WITH 266
#define STORE_FAST_MAYBE_NULL 267
+#define HAVE_ARGUMENT 45
+#define MIN_INSTRUMENTED_OPCODE 236
+
#ifdef __cplusplus
}
#endif