summaryrefslogtreecommitdiff
path: root/Python/makeopcodetargets.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-04-24 11:09:20 -0400
committerBenjamin Peterson <benjamin@python.org>2012-04-24 11:09:20 -0400
commit53d09b53993c6fd90307bbe842bccb40dcb03e43 (patch)
treeeab386f41260d464b00eadb79181216fa6261faa /Python/makeopcodetargets.py
parentf73861a9f1b07296436badc29cb67c38f5e9c462 (diff)
parent4fd25873791e766eb60314d42bd6b292b4a6d221 (diff)
downloadcpython-53d09b53993c6fd90307bbe842bccb40dcb03e43.tar.gz
merge 3.2 (#14658)
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]))