From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Fri, 24 Oct 2025 08:06:08 +0000 (+0100) Subject: fix pystats jit build X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fee4e9b3ff6c18607073947112b9eef4890d939;p=thirdparty%2FPython%2Fcpython.git fix pystats jit build --- diff --git a/Tools/jit/template.c b/Tools/jit/template.c index 9516d2508623..85aa6f988755 100644 --- a/Tools/jit/template.c +++ b/Tools/jit/template.c @@ -55,6 +55,11 @@ do { \ __attribute__((musttail)) return jitted(frame, stack_pointer, tstate); \ } while (0) +#undef GOTO_TIER_ONE_SETUP +#define GOTO_TIER_ONE_SETUP \ + tstate->current_executor = NULL; \ + _PyFrame_SetStackPointer(frame, stack_pointer); + #undef LOAD_IP #define LOAD_IP(UNUSED) \ do { \