mirror of
https://github.com/python/cpython.git
synced 2025-09-09 18:32:22 +00:00
GH-129763: Remove the LLTRACE macro (GH-129764)
This commit is contained in:
parent
f52a3a51eb
commit
fbaa6c8ff0
9 changed files with 25 additions and 49 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue