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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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(); \