aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2025-02-07 08:49:51 -0800
committerGitHub <noreply@github.com>2025-02-07 08:49:51 -0800
commitfbaa6c8ff06cf885d9b8c8ea6cf25bab3781a2bd (patch)
tree9f73b24c49d292081f52d21c053fe79409320dce /Python/bytecodes.c
parentf52a3a51eb711e16445307ff1ce28e94ff4b1535 (diff)
downloadcpython-fbaa6c8ff06cf885d9b8c8ea6cf25bab3781a2bd.tar.gz
cpython-fbaa6c8ff06cf885d9b8c8ea6cf25bab3781a2bd.zip
GH-129763: Remove the LLTRACE macro (GH-129764)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index c3024f7f98f..07022e9932d 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -5301,7 +5301,7 @@ dummy_func(
goto exception_unwind;
}
/* Resume normal execution */
-#ifdef LLTRACE
+#ifdef Py_DEBUG
if (frame->lltrace >= 5) {
lltrace_resume_frame(frame);
}
@@ -5340,15 +5340,7 @@ dummy_func(
}
next_instr = frame->instr_ptr;
- #ifdef LLTRACE
- {
- int lltrace = maybe_lltrace_resume_frame(frame, GLOBALS());
- frame->lltrace = lltrace;
- if (lltrace < 0) {
- goto exit_unwind;
- }
- }
- #endif
+ LLTRACE_RESUME_FRAME();
#ifdef Py_DEBUG
/* _PyEval_EvalFrameDefault() must not be called with an exception set,