https://github.com/python/cpython/commit/f701f98052e906af9a065d68bdf2398ef3b476d9 commit: f701f98052e906af9a065d68bdf2398ef3b476d9 branch: main author: Ken Jin <[email protected]> committer: Fidget-Spinner <[email protected]> date: 2025-11-01T16:22:59Z summary:
gh-140312: Set lltrace on JIT debug builds (GH-140313) Co-authored-by: Mark Shannon <[email protected]> files: M Tools/jit/template.c diff --git a/Tools/jit/template.c b/Tools/jit/template.c index 8f71010a1aff58..2f146014a1c26b 100644 --- a/Tools/jit/template.c +++ b/Tools/jit/template.c @@ -69,9 +69,11 @@ do { \ } while (0) #undef LLTRACE_RESUME_FRAME -#define LLTRACE_RESUME_FRAME() \ - do { \ - } while (0) +#ifdef Py_DEBUG +#define LLTRACE_RESUME_FRAME() (frame->lltrace = 0) +#else +#define LLTRACE_RESUME_FRAME() do {} while (0) +#endif #define PATCH_JUMP(ALIAS) \ do { \ _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
