GH-128563: Move some labels, to simplify implementing tailcalling interpreter. (GH-129525)

This commit is contained in:
Mark Shannon
2025-01-31 17:13:20 +00:00
committed by GitHub
parent 9ba281d871
commit 54f74b80ae
5 changed files with 89 additions and 54 deletions

View File

@@ -381,7 +381,9 @@ do { \
tstate->previous_executor = NULL; \
frame = tstate->current_frame; \
if (next_instr == NULL) { \
goto resume_with_error; \
next_instr = frame->instr_ptr; \
stack_pointer = _PyFrame_GetStackPointer(frame); \
goto error; \
} \
stack_pointer = _PyFrame_GetStackPointer(frame); \
DISPATCH(); \