Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlvm.c72 int npc = pcRel(ci->u.l.savedpc, p); in traceexec()
75 ci->u.l.savedpc <= L->oldpc || /* when jump back (loop), or when */ in traceexec()
79 L->oldpc = ci->u.l.savedpc; in traceexec()
83 ci->u.l.savedpc--; /* undo increment (resume will increment it again) */ in traceexec()
486 Instruction inst = *(ci->u.l.savedpc - 1); /* interrupted instruction */ in luaV_finishOp()
503 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); in luaV_finishOp()
505 ci->u.l.savedpc++; /* skip jump instruction */ in luaV_finishOp()
523 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_TFORLOOP); in luaV_finishOp()
558 (k + (GETARG_Bx(i) != 0 ? GETARG_Bx(i) - 1 : GETARG_Ax(*ci->u.l.savedpc++)))
565 ci->u.l.savedpc += GETARG_sBx(i) + e; }
[all …]
H A Dldo.c329 ci->u.l.savedpc++; /* hooks assume 'pc' is already incremented */ in callhook()
331 GET_OPCODE(*(ci->previous->u.l.savedpc - 1)) == OP_TAILCALL) { in callhook()
336 ci->u.l.savedpc--; /* correct 'pc' */ in callhook()
429 ci->u.l.savedpc = p->code; /* starting point */ in luaD_precall()
455 L->oldpc = ci->previous->u.l.savedpc; /* 'oldpc' for caller function */ in luaD_poscall()
H A Dlstate.h79 const Instruction *savedpc; member
H A Dldebug.c36 return pcRel(ci->u.l.savedpc, ci_func(ci)->p); in currentpc()
64 L->oldpc = L->ci->u.l.savedpc; in lua_sethook()
/freebsd/contrib/lua/src/
H A Dldo.c375 ci->u.l.savedpc++; /* hooks assume 'pc' is already incremented */ in luaD_hookcall()
377 ci->u.l.savedpc--; /* correct 'pc' */ in luaD_hookcall()
403 L->oldpc = pcRel(ci->u.l.savedpc, ci_func(ci)->p); /* set 'oldpc' */ in rethook()
565 ci->u.l.savedpc = p->code; /* starting point */ in luaD_pretailcall()
605 ci->u.l.savedpc = p->code; /* starting point */ in luaD_precall()
H A Dldebug.c43 return pcRel(ci->u.l.savedpc, ci_func(ci)->p); in currentpc()
890 ci->u.l.savedpc = pc; /* save 'pc' */ in luaG_traceexec()
900 if (!isIT(*(ci->u.l.savedpc - 1))) /* top not being used? */ in luaG_traceexec()
918 ci->u.l.savedpc--; /* undo increment (resume will increment it again) */ in luaG_traceexec()
H A Dlvm.c816 Instruction inst = *(ci->u.l.savedpc - 1); /* interrupted instruction */ in luaV_finishOp()
820 setobjs2s(L, base + GETARG_A(*(ci->u.l.savedpc - 2)), --L->top.p); in luaV_finishOp()
841 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); in luaV_finishOp()
843 ci->u.l.savedpc++; /* skip jump instruction */ in luaV_finishOp()
856 ci->u.l.savedpc--; /* repeat instruction to close other vars. */ in luaV_finishOp()
865 ci->u.l.savedpc--; in luaV_finishOp()
1104 #define savepc(L) (ci->u.l.savedpc = pc)
1164 pc = ci->u.l.savedpc; in luaV_execute()
H A Dlstate.h183 const Instruction *savedpc; member
H A Dltests.c433 return p->code <= ci->u.l.savedpc && in lua_checkpc()
434 ci->u.l.savedpc <= p->code + p->sizecode; in lua_checkpc()