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:
Raymond Hettinger 2003-04-24 05:45:23 +00:00
parent 7d618c731c
commit f4cf76dd5e
5 changed files with 9 additions and 97 deletions

View file

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