summaryrefslogtreecommitdiff
path: root/Lib/opcode.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-04-24 05:45:23 +0000
committerRaymond Hettinger <python@rcn.com>2003-04-24 05:45:23 +0000
commitf4cf76dd5eabd8af5d2a866da1f75fa745aa6f29 (patch)
tree706a194da1728cb6e6907e4a74351df2bcccfc39 /Lib/opcode.py
parent7d618c731c4505ab92f085f97faa475ac3ad72d4 (diff)
downloadcpython-git-f4cf76dd5eabd8af5d2a866da1f75fa745aa6f29.tar.gz
Revert the previous enhancement to the bytecode optimizer.
The additional code complexity and new NOP opcode were not worth it.
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r--Lib/opcode.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index 15f92a740e..cfde5f803b 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)