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

Function AssignGlobalOrUpvalue

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

Source from the content-addressed store, hash-verified

918void DeclarePendingLocals(GluaDecompileContextP ctx, Function* F);
919
920void AssignGlobalOrUpvalue(Function* F, std::string dest, std::string src) {
921 F->testjump = 0;
922 AddToVarList(&(F->vpend), dest, src, -1);
923}
924
925void AssignReg(GluaDecompileContextP ctx, Function* F, int reg, std::string src, int prio, int mayTest) {
926 std::string dest = REGISTER(reg);

Callers 1

ProcessCodeFunction · 0.85

Calls 1

AddToVarListFunction · 0.85

Tested by

no test coverage detected