Home
last modified time | relevance | path

Searched refs:lastpc (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/module/lua/
H A Dldebug.c316 static const char *getobjname (Proto *p, int lastpc, int reg,
353 static int findsetreg (Proto *p, int lastpc, int reg) { in findsetreg() argument
357 for (pc = 0; pc < lastpc; pc++) { in findsetreg()
383 if (pc < dest && dest <= lastpc) { in findsetreg()
404 static const char *getobjname (Proto *p, int lastpc, int reg, in getobjname() argument
407 *name = luaF_getlocalname(p, reg + 1, lastpc); in getobjname()
411 pc = findsetreg(p, lastpc, reg); in getobjname()
/freebsd/contrib/lua/src/
H A Dldebug.c420 static const char *getobjname (const Proto *p, int lastpc, int reg,
465 static int findsetreg (const Proto *p, int lastpc, int reg) { in findsetreg() argument
469 if (testMMMode(GET_OPCODE(p->code[lastpc]))) in findsetreg()
470 lastpc--; /* previous instruction was not actually executed */ in findsetreg()
471 for (pc = 0; pc < lastpc; pc++) { in findsetreg()
495 if (dest <= lastpc && dest > jmptarget) in findsetreg()
526 static const char *getobjname (const Proto *p, int lastpc, int reg, in getobjname() argument
529 *name = luaF_getlocalname(p, reg + 1, lastpc); in getobjname()
533 pc = findsetreg(p, lastpc, reg); in getobjname()