Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlvm.c74 int npc = pcRel(ci->u.l.savedpc, p); in traceexec()
77 ci->u.l.savedpc <= L->oldpc || /* when jump back (loop), or when */ in traceexec()
81 L->oldpc = ci->u.l.savedpc; in traceexec()
85 ci->u.l.savedpc--; /* undo increment (resume will increment it again) */ in traceexec()
426 Instruction inst = *(ci->u.l.savedpc - 1); /* interrupted instruction */ in luaV_finishOp()
443 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_JMP); in luaV_finishOp()
445 ci->u.l.savedpc++; /* skip jump instruction */ in luaV_finishOp()
463 lua_assert(GET_OPCODE(*ci->u.l.savedpc) == OP_TFORLOOP); in luaV_finishOp()
498 (k + (GETARG_Bx(i) != 0 ? GETARG_Bx(i) - 1 : GETARG_Ax(*ci->u.l.savedpc++)))
505 ci->u.l.savedpc += GETARG_sBx(i) + e; }
[all …]
Dldo.c246 ci->u.l.savedpc++; /* hooks assume 'pc' is already incremented */ in callhook()
248 GET_OPCODE(*(ci->previous->u.l.savedpc - 1)) == OP_TAILCALL) { in callhook()
253 ci->u.l.savedpc--; /* correct 'pc' */ in callhook()
346 ci->u.l.savedpc = p->code; /* starting point */ in luaD_precall()
372 L->oldpc = ci->previous->u.l.savedpc; /* 'oldpc' for caller function */ in luaD_poscall()
Dlstate.h79 const Instruction *savedpc; member
Dldebug.c41 return pcRel(ci->u.l.savedpc, ci_func(ci)->p); in currentpc()
59 L->oldpc = L->ci->u.l.savedpc; in lua_sethook()