gh-131238: Add missing pycore_function.h includes for JIT compiler (#… · python/cpython@49fb75c · GitHub
Skip to content

Commit 49fb75c

Browse files
authored
gh-131238: Add missing pycore_function.h includes for JIT compiler (#131571)
1 parent d9411ae commit 49fb75c

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

Python/jit.c

Lines changed: 1 addition & 0 deletions

Python/optimizer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include "pycore_backoff.h"
88
#include "pycore_bitutils.h" // _Py_popcount32()
99
#include "pycore_code.h" // _Py_GetBaseCodeUnit
10+
#include "pycore_function.h" // _PyFunction_LookupByVersion()
1011
#include "pycore_interpframe.h"
1112
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
1213
#include "pycore_opcode_metadata.h" // _PyOpcode_OpName[]

Tools/jit/template.c

Lines changed: 4 additions & 3 deletions

0 commit comments

Comments
 (0)