mirror of
https://github.com/python/cpython.git
synced 2025-10-29 09:29:26 +00:00
GH-103963: Make dis display names of args for intrinsics opcodes (#104029)
This commit is contained in:
parent
65a49c6553
commit
872cbc6132
6 changed files with 110 additions and 17 deletions
|
|
@ -1,26 +1,24 @@
|
|||
// Auto-generated by Tools/build/generate_opcode_h.py from Lib/opcode.py
|
||||
|
||||
/* Unary Functions: */
|
||||
#define INTRINSIC_1_INVALID 0
|
||||
#define INTRINSIC_PRINT 1
|
||||
#define INTRINSIC_IMPORT_STAR 2
|
||||
#define INTRINSIC_STOPITERATION_ERROR 3
|
||||
#define INTRINSIC_ASYNC_GEN_WRAP 4
|
||||
#define INTRINSIC_UNARY_POSITIVE 5
|
||||
#define INTRINSIC_LIST_TO_TUPLE 6
|
||||
|
||||
#define INTRINSIC_PRINT 1
|
||||
#define INTRINSIC_IMPORT_STAR 2
|
||||
#define INTRINSIC_STOPITERATION_ERROR 3
|
||||
#define INTRINSIC_ASYNC_GEN_WRAP 4
|
||||
#define INTRINSIC_UNARY_POSITIVE 5
|
||||
#define INTRINSIC_LIST_TO_TUPLE 6
|
||||
|
||||
#define MAX_INTRINSIC_1 6
|
||||
#define MAX_INTRINSIC_1 6
|
||||
|
||||
|
||||
/* Binary Functions: */
|
||||
#define INTRINSIC_2_INVALID 0
|
||||
#define INTRINSIC_PREP_RERAISE_STAR 1
|
||||
|
||||
#define INTRINSIC_PREP_RERAISE_STAR 1
|
||||
|
||||
#define MAX_INTRINSIC_2 1
|
||||
|
||||
#define MAX_INTRINSIC_2 1
|
||||
|
||||
typedef PyObject *(*instrinsic_func1)(PyThreadState* tstate, PyObject *value);
|
||||
typedef PyObject *(*instrinsic_func2)(PyThreadState* tstate, PyObject *value1, PyObject *value2);
|
||||
|
||||
extern const instrinsic_func1 _PyIntrinsics_UnaryFunctions[];
|
||||
extern const instrinsic_func2 _PyIntrinsics_BinaryFunctions[];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue