bpo-26219: remove unused code (GH-13775)

This code was for deoptimization, which is removed from
PR-12884.
This commit is contained in:
Inada Naoki 2019-06-03 22:34:15 +09:00 committed by GitHub
parent 91234a1636
commit 395420e2a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -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)