Skip to content

Commit

Permalink
bpo-26219: remove unused code (GH-13775)
Browse files Browse the repository at this point in the history
This code was for deoptimization, which is removed from
PR-12884.
  • Loading branch information
methane committed Jun 3, 2019
1 parent 91234a1 commit 395420e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 395420e

Please sign in to comment.