gh-105481: simplify definition of pseudo ops in Lib/opcode.py (#107561)

This commit is contained in:
Irit Katriel 2023-08-02 18:16:57 +01:00 committed by GitHub
parent b9c9a36c2f
commit dd693d6320
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 40 deletions

2
Include/opcode.h generated
View file

@ -146,7 +146,6 @@ extern "C" {
#define INSTRUMENTED_END_SEND 252
#define INSTRUMENTED_INSTRUCTION 253
#define INSTRUMENTED_LINE 254
#define MIN_PSEUDO_OPCODE 256
#define SETUP_FINALLY 256
#define SETUP_CLEANUP 257
#define SETUP_WITH 258
@ -159,7 +158,6 @@ extern "C" {
#define LOAD_ZERO_SUPER_ATTR 265
#define STORE_FAST_MAYBE_NULL 266
#define LOAD_CLOSURE 267
#define MAX_PSEUDO_OPCODE 267
#define TO_BOOL_ALWAYS_TRUE 7
#define TO_BOOL_BOOL 8
#define TO_BOOL_INT 10