Searched refs:f_lasti (Results 1 – 16 of 16) sorted by relevance
49 return PyCode_Addr2Line(f->f_code, f->f_lasti*sizeof(_Py_CODEUNIT)); in PyFrame_GetLineNumber()68 if (f->f_lasti < 0) { in frame_getlasti()71 return PyLong_FromLong(f->f_lasti*sizeof(_Py_CODEUNIT)); in frame_getlasti()440 int64_t start_block_stack = blocks[f->f_lasti]; in frame_setlineno()494 f->f_lasti = best_addr; in frame_setlineno()853 f->f_lasti = -1; in _PyFrame_New_NoTrack()
82 gen->gi_frame->f_lasti == -1) in _PyGen_Finalize()148 if (f != NULL && f->f_lasti < 0 && arg && arg != Py_None) { in gen_send_ex2()192 …assert(f->f_lasti >= 0 || ((unsigned char *)PyBytes_AS_STRING(f->f_code->co_code))[0] == GEN_START… in gen_send_ex2()350 if (f->f_lasti < 0) { in _PyGen_yf()358 if (code[(f->f_lasti+1)*sizeof(_Py_CODEUNIT)] != YIELD_FROM) in _PyGen_yf()481 assert(gen->gi_frame->f_lasti >= 0); in _gen_throw()482 gen->gi_frame->f_lasti += 1; in _gen_throw()
160 *instr_lb <= frame->f_lasti < *instr_ub225 suggested by f_lasti on this one occasion where it's desirable.
44 int f_lasti; /* Last instruction if called */ member
1305 f->f_lasti = INSTR_OFFSET(); \1691 assert(f->f_lasti >= -1); in _PyEval_EvalFrameDefault()1692 next_instr = first_instr + f->f_lasti + 1; in _PyEval_EvalFrameDefault()1783 int instr_prev = f->f_lasti; in _PyEval_EvalFrameDefault()1784 f->f_lasti = INSTR_OFFSET(); in _PyEval_EvalFrameDefault()1804 JUMPTO(f->f_lasti); in _PyEval_EvalFrameDefault()1821 f->f_lasti, opcode, oparg); in _PyEval_EvalFrameDefault()1825 f->f_lasti, opcode); in _PyEval_EvalFrameDefault()1836 f->f_lasti = INSTR_OFFSET(); in _PyEval_EvalFrameDefault()2626 assert(f->f_lasti > 0); in _PyEval_EvalFrameDefault()[all …]
237 return tb_create_raw((PyTracebackObject *)tb_next, frame, frame->f_lasti*sizeof(_Py_CODEUNIT), in _PyTraceBack_FromFrame()
93 if frame is not None and frame.f_lasti == -1:
59 set $__lasti = f->f_lasti
870 self.f_lasti = int_from_int(self.field('f_lasti'))950 return self.co.addr2line(self.f_lasti*2)
1797 if generator.gi_frame.f_lasti == -1:1839 if coroutine.cr_frame.f_lasti == -1:
66 Make sure that the ``f_lasti`` and ``f_lineno`` attributes of a frame are
712 restores ``f_lasti`` of the current frame to its value when the exception was raised.
134 | | f_lasti | index of last attempted |
1959 * For ``FrameObject`` objects, the ``f_lasti`` member now represents a wordcode1963 ``f_lasti`` member of ``FrameObject`` objects is not considered stable: please
2002 instead call ``PyCode_Addr2Line(f->f_code, f->f_lasti)``. This will have the
1030 single: f_lasti (frame attribute)1038 :attr:`f_lasti` gives the precise instruction (this is an index into the