summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-04-24 05:45:23 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-04-24 05:45:23 (GMT)
commitf4cf76dd5eabd8af5d2a866da1f75fa745aa6f29 (patch)
tree706a194da1728cb6e6907e4a74351df2bcccfc39 /Python/ceval.c
parent7d618c731c4505ab92f085f97faa475ac3ad72d4 (diff)
downloadcpython-f4cf76dd5eabd8af5d2a866da1f75fa745aa6f29.zip
cpython-f4cf76dd5eabd8af5d2a866da1f75fa745aa6f29.tar.gz
cpython-f4cf76dd5eabd8af5d2a866da1f75fa745aa6f29.tar.bz2
Revert the previous enhancement to the bytecode optimizer.
The additional code complexity and new NOP opcode were not worth it.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 7f8f654..3ea1bdc 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -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) {