Home
last modified time | relevance | path

Searched refs:oldpc (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/contrib/lua/src/
H A Dldebug.c785 static int changedline (const Proto *p, int oldpc, int newpc) { in changedline() argument
788 while (oldpc++ < newpc) { in changedline()
789 if (p->lineinfo[oldpc] != 0) in changedline()
790 return (luaG_getfuncline(p, oldpc - 1) != luaG_getfuncline(p, newpc)); in changedline()
813 int oldpc = (L->oldpc < p->sizecode) ? L->oldpc : 0; in luaG_traceexec() local
836 pc <= invpcRel(oldpc, p) || /* when jump back (loop), or when */ in luaG_traceexec()
837 changedline(p, oldpc, npci)) { /* enter new line */ in luaG_traceexec()
841 L->oldpc = npci; /* 'pc' of last call to line hook */ in luaG_traceexec()
H A Dlstate.h291 int oldpc; /* last pc traced */ member
H A Dlstate.c268 L->oldpc = 0; in preinit_thread()
H A Dldo.c364 L->oldpc = pcRel(ci->u.l.savedpc, ci_func(ci)->p); /* update 'oldpc' */ in rethook()
H A Dlvm.c1823 L->oldpc = 1; /* next opcode will be seen as a "new" line */ in luaV_execute()
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dlstate.h161 const Instruction *oldpc; /* last pc traced */ member
H A Dlvm.c76 ci->u.l.savedpc <= L->oldpc || /* when jump back (loop), or when */ in traceexec()
77 newline != getfuncline(p, pcRel(L->oldpc, p))) /* enter a new line */ in traceexec()
80 L->oldpc = ci->u.l.savedpc; in traceexec()
H A Dldebug.c65 L->oldpc = L->ci->u.l.savedpc; in lua_sethook()
H A Dldo.c441 L->oldpc = ci->previous->u.l.savedpc; /* 'oldpc' for caller function */ in luaD_poscall()