Home
last modified time | relevance | path

Searched refs:_Py_OPCODE (Results 1 - 7 of 7) sorted by relevance

/third_party/python/Include/cpython/
H A Dcode.h22 # define _Py_OPCODE(word) ((word) >> 8) macro
26 # define _Py_OPCODE(word) ((word) & 255) macro
/third_party/python/Objects/
H A Dframeobject.c118 if (i >= 1 && _Py_OPCODE(word = codestr[i-1]) == EXTENDED_ARG) { in get_arg()
120 if (i >= 2 && _Py_OPCODE(word = codestr[i-2]) == EXTENDED_ARG) { in get_arg()
122 if (i >= 3 && _Py_OPCODE(word = codestr[i-3]) == EXTENDED_ARG) { in get_arg()
310 opcode = _Py_OPCODE(code[i]); in mark_stacks()
608 switch (_PyOpcode_Deopt[_Py_OPCODE(*frame->f_frame->prev_instr)]) in _PyFrame_GetState()
1085 int check_opcode = _PyOpcode_Deopt[_Py_OPCODE(*instruction)]; in _PyFrame_OpAlreadyRan()
1118 if (lasti < 0 && _Py_OPCODE(_PyCode_CODE(co)[0]) == COPY_FREE_VARS) { in _PyFrame_FastToLocalsWithError()
H A Dcodeobject.c346 _Py_OPCODE(_PyCode_CODE(co)[entry_point]) != RESUME) { in init_code()
1453 int opcode = _PyOpcode_Deopt[_Py_OPCODE(instruction)]; in deopt_code()
1702 _Py_SET_OPCODE(co_instr, _PyOpcode_Deopt[_Py_OPCODE(co_instr)]); in code_richcompare()
1703 _Py_SET_OPCODE(cp_instr, _PyOpcode_Deopt[_Py_OPCODE(cp_instr)]); in code_richcompare()
1708 i += _PyOpcode_Caches[_Py_OPCODE(co_instr)]; in code_richcompare()
H A Dgenobject.c359 assert(_Py_OPCODE(_PyCode_CODE(gen->gi_code)[0]) != SEND); in _PyGen_yf()
363 if (_PyOpcode_Deopt[_Py_OPCODE(next)] != RESUME || _Py_OPARG(next) < 2) in _PyGen_yf()
495 assert(_Py_OPCODE(frame->prev_instr[-1]) == SEND); in _gen_throw()
H A Dtypeobject.c9004 assert(_Py_OPCODE(_PyCode_CODE(co)[0]) == MAKE_CELL || in super_init_without_args()
9005 _Py_OPCODE(_PyCode_CODE(co)[0]) == COPY_FREE_VARS); in super_init_without_args()
/third_party/python/Python/
H A Dspecialize.c266 int opcode = _Py_OPCODE(instructions[i]); in _PyCode_Quicken()
1372 assert(_Py_OPCODE(*instr) == PRECALL_ADAPTIVE); in specialize_class_call()
1433 assert(_Py_OPCODE(*instr) == PRECALL_ADAPTIVE); in specialize_method_descriptor()
1459 bool pop = (_Py_OPCODE(next) == POP_TOP); in specialize_method_descriptor()
1485 assert(_Py_OPCODE(*instr) == CALL_ADAPTIVE); in specialize_py_call()
1536 assert(_Py_OPCODE(*instr) == PRECALL_ADAPTIVE); in specialize_c_call()
1788 bool to_store = (_Py_OPCODE(next) == STORE_FAST || in _Py_Specialize_BinaryOp()
1789 _Py_OPCODE(next) == STORE_FAST__LOAD_FAST); in _Py_Specialize_BinaryOp()
1909 int next_opcode = _Py_OPCODE(instr[INLINE_CACHE_ENTRIES_COMPARE_OP + 1]); in _Py_Specialize_CompareOp()
H A Dceval.c134 int opcode = _Py_OPCODE(*next_instr); in lltrace_instruction()
1343 opcode = _Py_OPCODE(*next_instr); \
1370 opcode = _Py_OPCODE(word); \
1420 opcode = _Py_OPCODE(word) | cframe.use_tracing OR_DTRACE_LINE; \
2064 assert(_Py_OPCODE(true_next) == STORE_FAST ||
2065 _Py_OPCODE(true_next) == STORE_FAST__LOAD_FAST);
5201 assert(_Py_OPCODE(next_instr[-1]) == POP_TOP);
5595 opcode = _PyOpcode_Deopt[_Py_OPCODE(*next_instr)];
5689 opcode = _Py_OPCODE(*next_instr);
6935 _Py_OPCODE(*fram
[all...]

Completed in 38 milliseconds