Skip to content

Commit ac52504

Browse files
committed
Revert "pythongh-107265: Ensure _PyCode_Quicken does not handle ENTER_EXECUTOR (pythongh-108460)"
This reverts commit d6ac5c7.
1 parent 75903f2 commit ac52504

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Python/specialize.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,6 @@ _PyCode_Quicken(PyCodeObject *code)
300300
for (int i = 0; i < Py_SIZE(code); i++) {
301301
opcode = _Py_GetBaseOpcode(code, i);
302302
assert(opcode < MIN_INSTRUMENTED_OPCODE);
303-
// _PyCode_Quicken is only called when initializing a fresh code object.
304-
assert(opcode != ENTER_EXECUTOR);
305303
int caches = _PyOpcode_Caches[opcode];
306304
if (caches) {
307305
instructions[i + 1].cache = adaptive_counter_warmup();

0 commit comments

Comments
 (0)