mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
gh-105481: simplify definition of pseudo ops in Lib/opcode.py (#107561)
This commit is contained in:
parent
b9c9a36c2f
commit
dd693d6320
5 changed files with 23 additions and 40 deletions
2
Include/opcode.h
generated
2
Include/opcode.h
generated
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue