MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / luaK_setoneret

Function luaK_setoneret

lua/lcode.c:299–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297
298
299void luaK_setoneret (FuncState *fs, expdesc *e) {
300 if (e->k == VCALL) { /* expression is an open function call? */
301 e->k = VNONRELOC;
302 e->u.s.info = GETARG_A(getcode(fs, e));
303 }
304 else if (e->k == VVARARG) {
305 SETARG_B(getcode(fs, e), 2);
306 e->k = VRELOCABLE; /* can relocate its simple result */
307 }
308}
309
310
311void luaK_dischargevars (FuncState *fs, expdesc *e) {

Callers 2

assignmentFunction · 0.85
luaK_dischargevarsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected