bpo-43760: Check for tracing using 'bitwise or' instead of branch in dispatch. (GH-28723)

This commit is contained in:
Mark Shannon 2021-10-05 11:01:11 +01:00 committed by GitHub
parent ef6196028f
commit bd627eb7ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 249 additions and 217 deletions

1
Include/opcode.h generated
View file

@ -167,6 +167,7 @@ extern "C" {
#define LOAD_FAST__LOAD_CONST 134
#define LOAD_CONST__LOAD_FAST 140
#define STORE_FAST__STORE_FAST 143
#define DO_TRACING 255
#ifdef NEED_OPCODE_JUMP_TABLES
static uint32_t _PyOpcode_RelativeJump[8] = {
0U,