MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / rkname

Function rkname

extlibs/lua/src/ldebug.c:451–457  ·  view source on GitHub ↗

** Find a "name" for a 'C' value in an RK instruction. */

Source from the content-addressed store, hash-verified

449** Find a "name" for a 'C' value in an RK instruction.
450*/
451static void rkname (const Proto *p, int pc, Instruction i, const char **name) {
452 int c = GETARG_C(i); /* key index */
453 if (GETARG_k(i)) /* is 'c' a constant? */
454 kname(p, c, name);
455 else /* 'c' is a register */
456 rname(p, pc, c, name);
457}
458
459
460static int filterpc (int pc, int jmptarget) {

Callers 1

getobjnameFunction · 0.85

Calls 2

knameFunction · 0.85
rnameFunction · 0.85

Tested by

no test coverage detected