mirror of
https://github.com/python/cpython.git
synced 2025-08-23 02:04:56 +00:00
GH-118095: Convert DEOPT_IFs on likely side exits to EXIT_IFs (GH-118106)
Covert DEOPT_IFs on likely side exits to EXIT_IFs
This commit is contained in:
parent
7d369d471c
commit
77cd0428b6
4 changed files with 24 additions and 24 deletions
|
@ -696,7 +696,7 @@ top: // Jump here after _PUSH_FRAME or likely branches
|
|||
if (expansion->nuops > 0) {
|
||||
// Reserve space for nuops (+ _SET_IP + _EXIT_TRACE)
|
||||
int nuops = expansion->nuops;
|
||||
RESERVE(nuops);
|
||||
RESERVE(nuops + 1); /* One extra for exit */
|
||||
if (expansion->uops[nuops-1].uop == _POP_FRAME) {
|
||||
// Check for trace stack underflow now:
|
||||
// We can't bail e.g. in the middle of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue