Skip to content

Commit 395420e

Browse files
authored
bpo-26219: remove unused code (GH-13775)
This code was for deoptimization, which is removed from PR-12884.
1 parent 91234a1 commit 395420e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Python/ceval.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,9 +1117,6 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
11171117
assert(co_opt_offset <= co->co_opcache_size); \
11181118
co_opcache = &co->co_opcache[co_opt_offset - 1]; \
11191119
assert(co_opcache != NULL); \
1120-
if (co_opcache->optimized < 0) { \
1121-
co_opcache = NULL; \
1122-
} \
11231120
} \
11241121
} \
11251122
} while (0)

0 commit comments

Comments
 (0)