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

Function luaK_setoneret

src/Chain/libraries/glua/lcode.cpp:395–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393
394
395void luaK_setoneret(FuncState *fs, expdesc *e) {
396 if (e->k == VCALL) { /* expression is an open function call? */
397 e->k = VNONRELOC;
398 e->u.info = GETARG_A(getcode(fs, e));
399 }
400 else if (e->k == VVARARG) {
401 SETARG_B(getcode(fs, e), 2);
402 e->k = VRELOCABLE; /* can relocate its simple result */
403 }
404}
405
406
407void luaK_dischargevars(FuncState *fs, expdesc *e) {

Callers 2

luaK_dischargevarsFunction · 0.85
assignmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected