From 0fee4e9b3ff6c18607073947112b9eef4890d939 Mon Sep 17 00:00:00 2001 From: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Date: Fri, 24 Oct 2025 09:06:08 +0100 Subject: [PATCH] fix pystats jit build --- Tools/jit/template.c | 5 +++++ 1 file changed, 5 insertions(+) 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 { \ -- 2.47.3