diff options
author | Juhi Chandalia <jkchandalia@gmail.com> | 2023-05-03 02:00:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 02:00:17 (GMT) |
commit | 872cbc613245db7a1fc5e6656ed0135d2e115f50 (patch) | |
tree | 130aa47855542bf7467ddc96e14008faf652f040 /Include/internal/pycore_intrinsics.h | |
parent | 65a49c6553a27cc36eebb4b79f409c3cb4450d8c (diff) | |
download | cpython-872cbc613245db7a1fc5e6656ed0135d2e115f50.zip cpython-872cbc613245db7a1fc5e6656ed0135d2e115f50.tar.gz cpython-872cbc613245db7a1fc5e6656ed0135d2e115f50.tar.bz2 |
GH-103963: Make dis display names of args for intrinsics opcodes (#104029)
Diffstat (limited to 'Include/internal/pycore_intrinsics.h')
-rw-r--r-- | Include/internal/pycore_intrinsics.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/Include/internal/pycore_intrinsics.h b/Include/internal/pycore_intrinsics.h index 46a5274..3902059 100644 --- a/Include/internal/pycore_intrinsics.h +++ b/Include/internal/pycore_intrinsics.h @@ -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[]; - |