Skip to content

Commit 6a993e0

Browse files
committed
Add another spill in a macro
1 parent 4489850 commit 6a993e0

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

Python/ceval_macros.h

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -411,17 +411,21 @@ do { \
411411
} while (0)
412412
#endif
413413

414-
#define GOTO_TIER_ONE(TARGET) \
415-
do { \
416-
next_instr = (TARGET); \
417-
OPT_HIST(trace_uop_execution_counter, trace_run_length_hist); \
418-
Py_CLEAR(tstate->previous_executor); \
419-
if (next_instr == NULL) { \
420-
next_instr = frame->instr_ptr; \
421-
goto error; \
422-
} \
423-
DISPATCH(); \
424-
} while (0)
414+
#define GOTO_TIER_ONE(TARGET) \
415+
do \
416+
{ \
417+
next_instr = (TARGET); \
418+
OPT_HIST(trace_uop_execution_counter, trace_run_length_hist); \
419+
_PyFrame_SetStackPointer(frame, stack_pointer); \
420+
Py_CLEAR(tstate->previous_executor); \
421+
stack_pointer = _PyFrame_GetStackPointer(frame); \
422+
if (next_instr == NULL) \
423+
{ \
424+
next_instr = frame->instr_ptr; \
425+
goto error; \
426+
} \
427+
DISPATCH(); \
428+
} while (0)
425429

426430
#define CURRENT_OPARG() (next_uop[-1].oparg)
427431
#define CURRENT_OPERAND0() (next_uop[-1].operand0)

0 commit comments

Comments
 (0)