diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-07-17 22:49:50 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-07-17 22:49:50 -0500 |
commit | 9ab49a8a88fec533bed7891464129e7603f530a4 (patch) | |
tree | 6d71c436677bdd4b68b4abbb896af6107aacaa80 /Python/makeopcodetargets.py | |
parent | 1c9a051fc2e1dff4860bce17dbc1d44422659869 (diff) | |
download | cpython-9ab49a8a88fec533bed7891464129e7603f530a4.tar.gz |
excise the remains of STOP_CODE, which hasn't done anything useful for years
Diffstat (limited to 'Python/makeopcodetargets.py')
-rwxr-xr-x | Python/makeopcodetargets.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/makeopcodetargets.py b/Python/makeopcodetargets.py index 5d8e5a9a46..d9a085552f 100755 --- a/Python/makeopcodetargets.py +++ b/Python/makeopcodetargets.py @@ -23,9 +23,6 @@ def write_contents(f): opcode = find_module("opcode") targets = ['_unknown_opcode'] * 256 for opname, op in opcode.opmap.items(): - if opname == "STOP_CODE": - # XXX opcode not implemented - continue targets[op] = "TARGET_%s" % opname f.write("static void *opcode_targets[256] = {\n") f.write(",\n".join([" &&%s" % s for s in targets])) |