summaryrefslogtreecommitdiff
path: root/Python/makeopcodetargets.py
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2012-04-15 15:12:37 +0100
committerMark Dickinson <mdickinson@enthought.com>2012-04-15 15:12:37 +0100
commit0276a326e15ced5fe6494d40658e9652ac90c5d5 (patch)
treea6b2218dbfd8082a7976f7ae7b22c7e138a201a0 /Python/makeopcodetargets.py
parent4536a907e314836a320414ee5bf3bf7557fef7b6 (diff)
parent3cd6793317074f286add6fff3627776fe3a50483 (diff)
downloadcpython-0276a326e15ced5fe6494d40658e9652ac90c5d5.tar.gz
Issue #13889: Merge fix from 3.2.
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]))