MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaK_setoneret

Function luaK_setoneret

third-party/lua-5.2.4/src/lcode.c:371–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369
370
371void luaK_setoneret (FuncState *fs, expdesc *e) {
372 if (e->k == VCALL) { /* expression is an open function call? */
373 e->k = VNONRELOC;
374 e->u.info = GETARG_A(getcode(fs, e));
375 }
376 else if (e->k == VVARARG) {
377 SETARG_B(getcode(fs, e), 2);
378 e->k = VRELOCABLE; /* can relocate its simple result */
379 }
380}
381
382
383void luaK_dischargevars (FuncState *fs, expdesc *e) {

Callers 2

assignmentFunction · 0.70
luaK_dischargevarsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected