summaryrefslogtreecommitdiffstats
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-08-17 10:16:03 (GMT)
committerGitHub <noreply@github.com>2023-08-17 10:16:03 (GMT)
commit006e44f9502308ec3d14424ad8bd774046f2be8e (patch)
tree91ab71678a0fb5f5ba410c371f28ded8a1c82d0d /Python/executor_cases.c.h
parent33e6e3fec02ff3035dec52692542d3dd10124bef (diff)
downloadcpython-006e44f9502308ec3d14424ad8bd774046f2be8e.zip
cpython-006e44f9502308ec3d14424ad8bd774046f2be8e.tar.gz
cpython-006e44f9502308ec3d14424ad8bd774046f2be8e.tar.bz2
GH-108035: Remove the `_PyCFrame` struct as it is no longer needed for performance. (GH-108036)
Diffstat (limited to 'Python/executor_cases.c.h')
-rw-r--r--Python/executor_cases.c.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h
index b3dd313..9fbf026 100644
--- a/Python/executor_cases.c.h
+++ b/Python/executor_cases.c.h
@@ -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;