mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
GH-108035: Remove the _PyCFrame
struct as it is no longer needed for performance. (GH-108036)
This commit is contained in:
parent
33e6e3fec0
commit
006e44f950
21 changed files with 66 additions and 103 deletions
3
Python/executor_cases.c.h
generated
3
Python/executor_cases.c.h
generated
|
@ -2212,12 +2212,11 @@
|
|||
_PyFrame_SetStackPointer(frame, stack_pointer);
|
||||
new_frame->previous = frame;
|
||||
CALL_STAT_INC(inlined_py_calls);
|
||||
frame = tstate->current_frame = new_frame;
|
||||
#if TIER_ONE
|
||||
frame = cframe.current_frame = new_frame;
|
||||
goto start_frame;
|
||||
#endif
|
||||
#if TIER_TWO
|
||||
frame = tstate->cframe->current_frame = new_frame;
|
||||
if (_Py_EnterRecursivePy(tstate)) goto pop_1_exit_unwind;
|
||||
stack_pointer = _PyFrame_GetStackPointer(frame);
|
||||
ip_offset = (_Py_CODEUNIT *)_PyFrame_GetCode(frame)->co_code_adaptive;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue