summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/specialize.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/specialize.c b/Python/specialize.c
index fac3c3e..a467f16 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -300,8 +300,6 @@ _PyCode_Quicken(PyCodeObject *code)
for (int i = 0; i < Py_SIZE(code); i++) {
opcode = _Py_GetBaseOpcode(code, i);
assert(opcode < MIN_INSTRUMENTED_OPCODE);
- // _PyCode_Quicken is only called when initializing a fresh code object.
- assert(opcode != ENTER_EXECUTOR);
int caches = _PyOpcode_Caches[opcode];
if (caches) {
instructions[i + 1].cache = adaptive_counter_warmup();