2024-05-01 08:05:53 -07:00
|
|
|
#include "Python.h"
|
|
|
|
|
|
|
|
#include "pycore_ceval.h"
|
|
|
|
#include "pycore_frame.h"
|
|
|
|
#include "pycore_jit.h"
|
|
|
|
|
2024-10-30 12:03:31 -07:00
|
|
|
#include "jit.h"
|
|
|
|
|
2024-05-01 08:05:53 -07:00
|
|
|
_Py_CODEUNIT *
|
2024-10-30 12:03:31 -07:00
|
|
|
_JIT_ENTRY(_PyInterpreterFrame *frame, _PyStackRef *stack_pointer, PyThreadState *tstate)
|
2024-05-01 08:05:53 -07:00
|
|
|
{
|
|
|
|
// Note that this is *not* a tail call:
|
2025-02-07 09:52:49 -08:00
|
|
|
PATCH_VALUE(jit_func_preserve_none, call, _JIT_CONTINUE);
|
|
|
|
return call(frame, stack_pointer, tstate);
|
2024-05-01 08:05:53 -07:00
|
|
|
}
|