summaryrefslogtreecommitdiff
path: root/Python/makeopcodetargets.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-11-20 22:35:53 +0100
committerAntoine Pitrou <solipsis@pitrou.net>2012-11-20 22:35:53 +0100
commit43befdf52bb5e73dbaade830963cc307e23eb4ac (patch)
treec545c3eec0a7de76d57989960f5c11e01de1faf8 /Python/makeopcodetargets.py
parent6cbbac5720c03f37ff46ab65765ec9b34b23043d (diff)
parent64defaa456d89a64939948cde7e08dcbd63490cd (diff)
downloadcpython-43befdf52bb5e73dbaade830963cc307e23eb4ac.tar.gz
Merge test from issue #1160.
Diffstat (limited to 'Python/makeopcodetargets.py')
-rwxr-xr-xPython/makeopcodetargets.py3
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]))