mirror of
https://github.com/python/cpython.git
synced 2025-08-23 02:04:56 +00:00
GH-117442: Check eval-breaker at start (rather than end) of tier 2 loops (GH-118482)
This commit is contained in:
parent
f8e088df2a
commit
67bba9dd0f
10 changed files with 137 additions and 174 deletions
11
Python/executor_cases.c.h
generated
11
Python/executor_cases.c.h
generated
|
@ -4094,7 +4094,6 @@
|
|||
#ifndef _Py_JIT
|
||||
next_uop = ¤t_executor->trace[1];
|
||||
#endif
|
||||
CHECK_EVAL_BREAKER();
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -4353,14 +4352,4 @@
|
|||
break;
|
||||
}
|
||||
|
||||
case _EVAL_BREAKER_EXIT: {
|
||||
_Py_CHECK_EMSCRIPTEN_SIGNALS_PERIODICALLY();
|
||||
QSBR_QUIESCENT_STATE(tstate);
|
||||
if (_Py_HandlePending(tstate) != 0) {
|
||||
GOTO_UNWIND();
|
||||
}
|
||||
EXIT_TO_TRACE();
|
||||
break;
|
||||
}
|
||||
|
||||
#undef TIER_TWO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue