summaryrefslogtreecommitdiffstats
path: root/Lib
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 /Lib
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 'Lib')
-rw-r--r--Lib/opcode.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index 15f92a7..cfde5f8 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -49,8 +49,6 @@ def_op('ROT_THREE', 3)
def_op('DUP_TOP', 4)
def_op('ROT_FOUR', 5)
-def_op('NOP', 9)
-
def_op('UNARY_POSITIVE', 10)
def_op('UNARY_NEGATIVE', 11)
def_op('UNARY_NOT', 12)