Home
last modified time | relevance | path

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

/external/lua/src/
Dlvm.c659 Instruction inst = *(ci->u.l.savedpc - 1); /* interrupted instruction */ in luaV_finishOp()
678 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); in luaV_finishOp()
680 ci->u.l.savedpc++; /* skip jump instruction */ in luaV_finishOp()
698 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_TFORLOOP); in luaV_finishOp()
741 ci->u.l.savedpc += GETARG_sBx(i) + e; }
744 #define donextjump(ci) { i = *ci->u.l.savedpc; dojump(ci, i, 1); }
757 i = *(ci->u.l.savedpc++); \
814 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_EXTRAARG); in luaV_execute()
815 rb = k + GETARG_Ax(*ci->u.l.savedpc++); in luaV_execute()
821 if (GETARG_C(i)) ci->u.l.savedpc++; /* skip next instruction (if C) */ in luaV_execute()
[all …]
Dldebug.c47 return pcRel(ci->u.l.savedpc, ci_func(ci)->p); in currentpc()
87 L->oldpc = L->ci->u.l.savedpc; in lua_sethook()
682 int npc = pcRel(ci->u.l.savedpc, p); in luaG_traceexec()
685 ci->u.l.savedpc <= L->oldpc || /* when jump back (loop), or when */ in luaG_traceexec()
689 L->oldpc = ci->u.l.savedpc; in luaG_traceexec()
693 ci->u.l.savedpc--; /* undo increment (resume will increment it again) */ in luaG_traceexec()
Dldo.c282 ci->u.l.savedpc++; /* hooks assume 'pc' is already incremented */ in callhook()
284 GET_OPCODE(*(ci->previous->u.l.savedpc - 1)) == OP_TAILCALL) { in callhook()
289 ci->u.l.savedpc--; /* correct 'pc' */ in callhook()
385 L->oldpc = ci->previous->u.l.savedpc; /* 'oldpc' for caller function */ in luaD_poscall()
459 ci->u.l.savedpc = p->code; /* starting point */ in luaD_precall()
Dlstate.h99 const Instruction *savedpc; member