summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/Python/compile.c b/Python/compile.c
index d66ee17..42b011c 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -23,17 +23,18 @@
#include <stdbool.h>
+// Need _PyOpcode_RelativeJump of pycore_opcode.h
+#define NEED_OPCODE_TABLES
+
#include "Python.h"
#include "pycore_ast.h" // _PyAST_GetDocString()
-#include "pycore_compile.h" // _PyFuture_FromAST()
#include "pycore_code.h" // _PyCode_New()
-#include "pycore_pymem.h" // _PyMem_IsPtrFreed()
+#include "pycore_compile.h" // _PyFuture_FromAST()
#include "pycore_long.h" // _PyLong_GetZero()
+#include "pycore_opcode.h" // _PyOpcode_Caches
+#include "pycore_pymem.h" // _PyMem_IsPtrFreed()
#include "pycore_symtable.h" // PySTEntryObject
-#define NEED_OPCODE_TABLES
-#include "opcode.h" // EXTENDED_ARG
-
#define DEFAULT_BLOCK_SIZE 16
#define DEFAULT_CODE_SIZE 128