aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/optimizer.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2025-03-22 00:37:49 +0100
committerGitHub <noreply@github.com>2025-03-21 23:37:49 +0000
commit49fb75c676bd422b03aef9824d1abca1e9d90193 (patch)
treec024aaf5b583db33fe74935816461501670aee3e /Python/optimizer.c
parentd9411ae3c2f6b59d97a0a16ad3dd148cc58ad943 (diff)
downloadcpython-49fb75c676bd422b03aef9824d1abca1e9d90193.tar.gz
cpython-49fb75c676bd422b03aef9824d1abca1e9d90193.zip
gh-131238: Add missing pycore_function.h includes for JIT compiler (#131571)
Diffstat (limited to 'Python/optimizer.c')
-rw-r--r--Python/optimizer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/optimizer.c b/Python/optimizer.c
index e2fe0f6cff7..8e9d225bf38 100644
--- a/Python/optimizer.c
+++ b/Python/optimizer.c
@@ -7,6 +7,7 @@
#include "pycore_backoff.h"
#include "pycore_bitutils.h" // _Py_popcount32()
#include "pycore_code.h" // _Py_GetBaseCodeUnit
+#include "pycore_function.h" // _PyFunction_LookupByVersion()
#include "pycore_interpframe.h"
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
#include "pycore_opcode_metadata.h" // _PyOpcode_OpName[]