Skip to content

Commit 0fee4e9

Browse files
fix pystats jit build
1 parent abb1757 commit 0fee4e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Tools/jit/template.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ do { \
5555
__attribute__((musttail)) return jitted(frame, stack_pointer, tstate); \
5656
} while (0)
5757

58+
#undef GOTO_TIER_ONE_SETUP
59+
#define GOTO_TIER_ONE_SETUP \
60+
tstate->current_executor = NULL; \
61+
_PyFrame_SetStackPointer(frame, stack_pointer);
62+
5863
#undef LOAD_IP
5964
#define LOAD_IP(UNUSED) \
6065
do { \

0 commit comments

Comments
 (0)