diff options
author | Mark Shannon <mark@hotpy.org> | 2021-10-05 10:01:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 10:01:11 (GMT) |
commit | bd627eb7ed08a891dd1356756feb1ce2600358e4 (patch) | |
tree | fa2bb6db2fbdca1d08cd685d537c2db5d95e6192 /Python/makeopcodetargets.py | |
parent | ef6196028f966f22d82930b66e1371e75c5df2f7 (diff) | |
download | cpython-bd627eb7ed08a891dd1356756feb1ce2600358e4.zip cpython-bd627eb7ed08a891dd1356756feb1ce2600358e4.tar.gz cpython-bd627eb7ed08a891dd1356756feb1ce2600358e4.tar.bz2 |
bpo-43760: Check for tracing using 'bitwise or' instead of branch in dispatch. (GH-28723)
Diffstat (limited to 'Python/makeopcodetargets.py')
-rwxr-xr-x | Python/makeopcodetargets.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/makeopcodetargets.py b/Python/makeopcodetargets.py index 189d72a..3bf2e35 100755 --- a/Python/makeopcodetargets.py +++ b/Python/makeopcodetargets.py @@ -32,6 +32,7 @@ def write_contents(f): """ opcode = find_module('opcode') targets = ['_unknown_opcode'] * 256 + targets[255] = "TARGET_DO_TRACING" for opname, op in opcode.opmap.items(): targets[op] = "TARGET_%s" % opname next_op = 1 |