MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / rkname

Function rkname

3rd/lua-5.4.3/src/ldebug.c:445–451  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

443** Find a "name" for a 'C' value in an RK instruction.
444*/
445static void rkname (const Proto *p, int pc, Instruction i, const char **name) {
446 int c = GETARG_C(i); /* key index */
447 if (GETARG_k(i)) /* is 'c' a constant? */
448 kname(p, c, name);
449 else /* 'c' is a register */
450 rname(p, pc, c, name);
451}
452
453
454static 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