mirror of
https://github.com/python/cpython.git
synced 2025-10-22 17:33:55 +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
6
Python/executor_cases.c.h
generated
6
Python/executor_cases.c.h
generated
|
@ -7122,7 +7122,7 @@
|
|||
}
|
||||
#endif
|
||||
tstate->jit_exit = exit;
|
||||
GOTO_TIER_TWO(exit->executor);
|
||||
TIER2_TO_TIER2(exit->executor);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -7400,7 +7400,7 @@
|
|||
case _START_EXECUTOR: {
|
||||
PyObject *executor = (PyObject *)CURRENT_OPERAND0();
|
||||
#ifndef _Py_JIT
|
||||
current_executor = (_PyExecutorObject*)executor;
|
||||
assert(current_executor == (_PyExecutorObject*)executor);
|
||||
#endif
|
||||
assert(tstate->jit_exit == NULL || tstate->jit_exit->executor == current_executor);
|
||||
tstate->current_executor = (PyObject *)executor;
|
||||
|
@ -7503,7 +7503,7 @@
|
|||
}
|
||||
assert(tstate->jit_exit == exit);
|
||||
exit->executor = executor;
|
||||
GOTO_TIER_TWO(exit->executor);
|
||||
TIER2_TO_TIER2(exit->executor);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue