We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b32d4ca commit d6ac5c7Copy full SHA for d6ac5c7
Python/specialize.c
@@ -300,6 +300,8 @@ _PyCode_Quicken(PyCodeObject *code)
300
for (int i = 0; i < Py_SIZE(code); i++) {
301
opcode = _Py_GetBaseOpcode(code, i);
302
assert(opcode < MIN_INSTRUMENTED_OPCODE);
303
+ // _PyCode_Quicken is only called when initializing a fresh code object.
304
+ assert(opcode != ENTER_EXECUTOR);
305
int caches = _PyOpcode_Caches[opcode];
306
if (caches) {
307
instructions[i + 1].cache = adaptive_counter_warmup();
0 commit comments