]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix pystats jit build
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Fri, 24 Oct 2025 08:06:08 +0000 (09:06 +0100)
committerKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Fri, 24 Oct 2025 08:06:08 +0000 (09:06 +0100)
Tools/jit/template.c

index 9516d25086231cad5471a189a03ae134a352ec76..85aa6f988755fcc6e8bee847ae7dd5e9144d2043 100644 (file)
@@ -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 {                \