mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +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
13
Python/generated_cases.c.h
generated
13
Python/generated_cases.c.h
generated
|
@ -11416,7 +11416,7 @@ JUMP_TO_LABEL(error);
|
|||
JUMP_TO_LABEL(exception_unwind);
|
||||
}
|
||||
/* Resume normal execution */
|
||||
#ifdef LLTRACE
|
||||
#ifdef Py_DEBUG
|
||||
if (frame->lltrace >= 5) {
|
||||
lltrace_resume_frame(frame);
|
||||
}
|
||||
|
@ -11458,16 +11458,7 @@ JUMP_TO_LABEL(error);
|
|||
JUMP_TO_LABEL(exit_unwind);
|
||||
}
|
||||
next_instr = frame->instr_ptr;
|
||||
#ifdef LLTRACE
|
||||
{
|
||||
int lltrace = maybe_lltrace_resume_frame(frame, GLOBALS());
|
||||
frame->lltrace = lltrace;
|
||||
if (lltrace < 0) {
|
||||
JUMP_TO_LABEL(exit_unwind);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
LLTRACE_RESUME_FRAME();
|
||||
#ifdef Py_DEBUG
|
||||
/* _PyEval_EvalFrameDefault() must not be called with an exception set,
|
||||
because it can clear it (directly or indirectly) and so the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue