MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / listUpvalues

Function listUpvalues

src/Chain/libraries/glua/glua_decompile.cpp:1859–1865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1857}
1858
1859void listUpvalues(GluaDecompileContextP ctx, const Proto* f, std::stringstream &str) {
1860 int i = 0;
1861 str << getUpvalName(ctx, f, i);
1862 for (i = 1; i < NUPS(f); i++) {
1863 str << ", " << getUpvalName(ctx, f, i);
1864 }
1865}
1866
1867int isTestOpCode(OpCode op) {
1868 return (op == OP_EQ || op == OP_LE || op == OP_LT || op == OP_TEST || op == OP_TESTSET);

Callers 3

ProcessCodeFunction · 0.85
ProcessSubFunctionFunction · 0.85

Calls 1

getUpvalNameFunction · 0.85

Tested by

no test coverage detected