Searched refs:lastpc (Results 1 – 2 of 2) sorted by relevance
| /freebsd/contrib/lua/src/ |
| H A D | ldebug.c | 436 static int findsetreg (const Proto *p, int lastpc, int reg) { in findsetreg() argument 440 if (testMMMode(GET_OPCODE(p->code[lastpc]))) in findsetreg() 441 lastpc--; /* previous instruction was not actually executed */ in findsetreg() 442 for (pc = 0; pc < lastpc; pc++) { in findsetreg() 466 if (dest <= lastpc && dest > jmptarget) in findsetreg() 575 static const char *getobjname (const Proto *p, int lastpc, int reg, in getobjname() argument 577 const char *kind = basicgetobjname(p, &lastpc, reg, name); in getobjname() 580 else if (lastpc != -1) { /* could find instruction? */ in getobjname() 581 Instruction i = p->code[lastpc]; in getobjname() 587 return isEnv(p, lastpc, i, 1); in getobjname() [all …]
|
| /freebsd/sys/contrib/openzfs/module/lua/ |
| H A D | ldebug.c | 317 static const char *getobjname (Proto *p, int lastpc, int reg, 354 static int findsetreg (Proto *p, int lastpc, int reg) { in findsetreg() argument 358 for (pc = 0; pc < lastpc; pc++) { in findsetreg() 384 if (pc < dest && dest <= lastpc) { in findsetreg() 405 static const char *getobjname (Proto *p, int lastpc, int reg, in getobjname() argument 408 *name = luaF_getlocalname(p, reg + 1, lastpc); in getobjname() 412 pc = findsetreg(p, lastpc, reg); in getobjname()
|