bpo-26219: remove unused code (GH-13775)
This code was for deoptimization, which is removed from PR-12884.
This commit is contained in:
parent
91234a1636
commit
395420e2a3
|
@ -1117,9 +1117,6 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
|
|||
assert(co_opt_offset <= co->co_opcache_size); \
|
||||
co_opcache = &co->co_opcache[co_opt_offset - 1]; \
|
||||
assert(co_opcache != NULL); \
|
||||
if (co_opcache->optimized < 0) { \
|
||||
co_opcache = NULL; \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
} while (0)
|
||||
|
|
Loading…
Reference in New Issue