diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_code.h | 2 | ||||
-rw-r--r-- | Include/opcode.h | 14 |
2 files changed, 11 insertions, 5 deletions
diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h index 2d8fe20..ead9541 100644 --- a/Include/internal/pycore_code.h +++ b/Include/internal/pycore_code.h @@ -276,6 +276,8 @@ int _Py_Specialize_CallNoKw(PyObject *callable, _Py_CODEUNIT *instr, int nargs, void _Py_Specialize_BinaryOp(PyObject *lhs, PyObject *rhs, _Py_CODEUNIT *instr, SpecializedCacheEntry *cache); void _Py_Specialize_CompareOp(PyObject *lhs, PyObject *rhs, _Py_CODEUNIT *instr, SpecializedCacheEntry *cache); +void _Py_Specialize_UnpackSequence(PyObject *seq, _Py_CODEUNIT *instr, + SpecializedCacheEntry *cache); /* Deallocator function for static codeobjects used in deepfreeze.py */ void _PyStaticCode_Dealloc(PyCodeObject *co); diff --git a/Include/opcode.h b/Include/opcode.h index 58fc628..df45e7b 100644 --- a/Include/opcode.h +++ b/Include/opcode.h @@ -169,11 +169,15 @@ extern "C" { #define STORE_ATTR_INSTANCE_VALUE 81 #define STORE_ATTR_SLOT 131 #define STORE_ATTR_WITH_HINT 140 -#define LOAD_FAST__LOAD_FAST 141 -#define STORE_FAST__LOAD_FAST 143 -#define LOAD_FAST__LOAD_CONST 150 -#define LOAD_CONST__LOAD_FAST 153 -#define STORE_FAST__STORE_FAST 154 +#define UNPACK_SEQUENCE_ADAPTIVE 141 +#define UNPACK_SEQUENCE_LIST 143 +#define UNPACK_SEQUENCE_TUPLE 150 +#define UNPACK_SEQUENCE_TWO_TUPLE 153 +#define LOAD_FAST__LOAD_FAST 154 +#define STORE_FAST__LOAD_FAST 158 +#define LOAD_FAST__LOAD_CONST 159 +#define LOAD_CONST__LOAD_FAST 161 +#define STORE_FAST__STORE_FAST 166 #define DO_TRACING 255 #ifdef NEED_OPCODE_JUMP_TABLES static uint32_t _PyOpcode_RelativeJump[8] = { |