mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
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
1 changed files with 0 additions and 3 deletions
|
|
@ -1117,9 +1117,6 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
|
||||||
assert(co_opt_offset <= co->co_opcache_size); \
|
assert(co_opt_offset <= co->co_opcache_size); \
|
||||||
co_opcache = &co->co_opcache[co_opt_offset - 1]; \
|
co_opcache = &co->co_opcache[co_opt_offset - 1]; \
|
||||||
assert(co_opcache != NULL); \
|
assert(co_opcache != NULL); \
|
||||||
if (co_opcache->optimized < 0) { \
|
|
||||||
co_opcache = NULL; \
|
|
||||||
} \
|
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue