summaryrefslogtreecommitdiffstats
path: root/Python/opcode_metadata.h
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-03-31 17:17:59 (GMT)
committerGitHub <noreply@github.com>2023-03-31 17:17:59 (GMT)
commit80163e17d3f826067c5d95198db7696287beb416 (patch)
treece1cfcfe86a2c83a2145e5f325f16a737c7afccc /Python/opcode_metadata.h
parentb0422e140df8fdc83c51cc64a3ed5426188de7f1 (diff)
downloadcpython-80163e17d3f826067c5d95198db7696287beb416.zip
cpython-80163e17d3f826067c5d95198db7696287beb416.tar.gz
cpython-80163e17d3f826067c5d95198db7696287beb416.tar.bz2
gh-87092: move CFG related code from compile.c to flowgraph.c (#103021)
Diffstat (limited to 'Python/opcode_metadata.h')
-rw-r--r--Python/opcode_metadata.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/opcode_metadata.h b/Python/opcode_metadata.h
index 0803251..5c984eb 100644
--- a/Python/opcode_metadata.h
+++ b/Python/opcode_metadata.h
@@ -3,7 +3,7 @@
// Python/bytecodes.c
// Do not edit!
-#ifndef NEED_OPCODE_TABLES
+#ifndef NEED_OPCODE_METADATA
extern int _PyOpcode_num_popped(int opcode, int oparg, bool jump);
#else
int
@@ -349,7 +349,7 @@ _PyOpcode_num_popped(int opcode, int oparg, bool jump) {
}
#endif
-#ifndef NEED_OPCODE_TABLES
+#ifndef NEED_OPCODE_METADATA
extern int _PyOpcode_num_pushed(int opcode, int oparg, bool jump);
#else
int
@@ -701,7 +701,7 @@ struct opcode_metadata {
enum InstructionFormat instr_format;
};
-#ifndef NEED_OPCODE_TABLES
+#ifndef NEED_OPCODE_METADATA
extern const struct opcode_metadata _PyOpcode_opcode_metadata[256];
#else
const struct opcode_metadata _PyOpcode_opcode_metadata[256] = {