From bd627eb7ed08a891dd1356756feb1ce2600358e4 Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Tue, 5 Oct 2021 11:01:11 +0100 Subject: bpo-43760: Check for tracing using 'bitwise or' instead of branch in dispatch. (GH-28723) --- Python/makeopcodetargets.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Python/makeopcodetargets.py') diff --git a/Python/makeopcodetargets.py b/Python/makeopcodetargets.py index 189d72a8c8..3bf2e35ccb 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 -- cgit v1.2.1