Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A 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()
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.c250 ci->u.l.savedpc++; /* hooks assume 'pc' is already incremented */ in callhook()
252 GET_OPCODE(*(ci->previous->u.l.savedpc - 1)) == OP_TAILCALL) { in callhook()
257 ci->u.l.savedpc--; /* correct 'pc' */ in callhook()
350 ci->u.l.savedpc = p->code; /* starting point */ in luaD_precall()
376 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.c38 return pcRel(ci->u.l.savedpc, ci_func(ci)->p); in currentpc()
66 L->oldpc = L->ci->u.l.savedpc; in lua_sethook()