2025-08-21 10:40:53 +01:00
|
|
|
#include "Python.h"
|
|
|
|
|
|
|
|
|
|
#include "pycore_ceval.h"
|
|
|
|
|
#include "pycore_frame.h"
|
|
|
|
|
#include "pycore_jit.h"
|
|
|
|
|
|
|
|
|
|
#include "jit.h"
|
|
|
|
|
|
|
|
|
|
_Py_CODEUNIT *
|
|
|
|
|
_JIT_ENTRY(
|
|
|
|
|
_PyExecutorObject *exec, _PyInterpreterFrame *frame, _PyStackRef *stack_pointer, PyThreadState *tstate
|
|
|
|
|
) {
|
2025-11-03 11:46:53 -08:00
|
|
|
// Note that this is *not* a tail call
|
|
|
|
|
jit_func_preserve_none jitted = (jit_func_preserve_none)exec->jit_code;
|
2025-12-24 09:44:16 +00:00
|
|
|
return jitted(exec, frame, stack_pointer, tstate,
|
|
|
|
|
PyStackRef_ZERO_BITS, PyStackRef_ZERO_BITS, PyStackRef_ZERO_BITS);
|
2025-08-21 10:40:53 +01:00
|
|
|
}
|