summaryrefslogtreecommitdiffstats
path: root/Python/ceval_macros.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/ceval_macros.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/ceval_macros.h')
-rw-r--r--Python/ceval_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval_macros.h b/Python/ceval_macros.h
index 5e2db1e..08f19cd 100644
--- a/Python/ceval_macros.h
+++ b/Python/ceval_macros.h
@@ -109,7 +109,7 @@
_PyFrame_SetStackPointer(frame, stack_pointer); \
frame->prev_instr = next_instr - 1; \
(NEW_FRAME)->previous = frame; \
- frame = cframe.current_frame = (NEW_FRAME); \
+ frame = tstate->current_frame = (NEW_FRAME); \
CALL_STAT_INC(inlined_py_calls); \
goto start_frame; \
} while (0)