GH-126910: Build/link the JIT shim in the Python interpreter (#148872)

This commit is contained in:
Diego Russo 2026-04-23 12:23:18 +01:00 committed by GitHub
parent 29917d51ab
commit 9633c5239d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 202 additions and 209 deletions

View file

@ -37,9 +37,6 @@
#include "pycore_uniqueid.h" // _PyObject_FinalizeUniqueIdPool()
#include "pycore_warnings.h" // _PyWarnings_InitState()
#include "pycore_weakref.h" // _PyWeakref_GET_REF()
#ifdef _Py_JIT
#include "pycore_jit.h" // _PyJIT_Fini()
#endif
#if defined(PYMALLOC_USE_HUGEPAGES) && defined(MS_WINDOWS)
#include <Windows.h>
@ -2531,11 +2528,6 @@ _Py_Finalize(_PyRuntimeState *runtime)
finalize_interp_clear(tstate);
#ifdef _Py_JIT
/* Free JIT shim memory */
_PyJIT_Fini();
#endif
#ifdef Py_TRACE_REFS
/* Display addresses (& refcnts) of all objects still alive.
* An address can be used to find the repr of the object, printed