We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2564d41 commit 779bd7dCopy full SHA for 779bd7d
Python/optimizer.c
@@ -1477,7 +1477,6 @@ _PyExecutor_GetColdExecutor(void)
1477
Py_FatalError("Cannot allocate core JIT code");
1478
}
1479
((_PyUOpInstruction *)cold->trace)->opcode = _COLD_EXIT;
1480
- _Py_SetImmortal((PyObject *)cold);
1481
#ifdef _Py_JIT
1482
cold->jit_code = NULL;
1483
cold->jit_side_entry = NULL;
@@ -1490,6 +1489,7 @@ _PyExecutor_GetColdExecutor(void)
1490
1489
1491
1492
#endif
+ _Py_SetImmortal((PyObject *)cold);
1493
interp->cold_executor = cold;
1494
return cold;
1495
0 commit comments