summaryrefslogtreecommitdiffstats
path: root/Python/specialize.c
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-08-23 17:39:00 (GMT)
committerGitHub <noreply@github.com>2023-08-23 17:39:00 (GMT)
commit72119d16a5f658939809febef29dadeca02cf34d (patch)
treecbcc9877f2a83559ee76c91a18330f1aeae36115 /Python/specialize.c
parent422f81b5d2359063826b8561f698d57e94f6a5d8 (diff)
downloadcpython-72119d16a5f658939809febef29dadeca02cf34d.zip
cpython-72119d16a5f658939809febef29dadeca02cf34d.tar.gz
cpython-72119d16a5f658939809febef29dadeca02cf34d.tar.bz2
gh-105481: remove regen-opcode. Generated _PyOpcode_Caches in regen-cases. (#108367)
Diffstat (limited to 'Python/specialize.c')
-rw-r--r--Python/specialize.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Python/specialize.c b/Python/specialize.c
index 2d514c0..a467f16 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -1,4 +1,7 @@
#include "Python.h"
+
+#include "opcode.h"
+
#include "pycore_code.h"
#include "pycore_descrobject.h" // _PyMethodWrapper_Type
#include "pycore_dict.h"
@@ -7,7 +10,7 @@
#include "pycore_long.h"
#include "pycore_moduleobject.h"
#include "pycore_object.h"
-#include "pycore_opcode.h" // _PyOpcode_Caches
+#include "pycore_opcode_metadata.h" // _PyOpcode_Caches
#include "pycore_pylifecycle.h" // _PyOS_URandomNonblock()