mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
GH-137959: Replace shim code in jitted code with a single trampoline function. (GH-137961)
This commit is contained in:
parent
c056a089d8
commit
a8d9d94784
17 changed files with 166 additions and 104 deletions
|
|
@ -494,6 +494,11 @@ free_interpreter(PyInterpreterState *interp)
|
|||
static inline int check_interpreter_whence(long);
|
||||
#endif
|
||||
|
||||
extern _Py_CODEUNIT *
|
||||
_Py_LazyJitTrampoline(
|
||||
struct _PyExecutorObject *exec, _PyInterpreterFrame *frame, _PyStackRef *stack_pointer, PyThreadState *tstate
|
||||
);
|
||||
|
||||
/* Get the interpreter state to a minimal consistent state.
|
||||
Further init happens in pylifecycle.c before it can be used.
|
||||
All fields not initialized here are expected to be zeroed out,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue