mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
Revert the previous enhancement to the bytecode optimizer.
The additional code complexity and new NOP opcode were not worth it.
This commit is contained in:
parent
7d618c731c
commit
f4cf76dd5e
5 changed files with 9 additions and 97 deletions
|
|
@ -873,9 +873,6 @@ eval_frame(PyFrameObject *f)
|
|||
|
||||
/* case STOP_CODE: this is an error! */
|
||||
|
||||
case NOP:
|
||||
goto fast_next_opcode;
|
||||
|
||||
case LOAD_FAST:
|
||||
x = GETLOCAL(oparg);
|
||||
if (x != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue