MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaK_setoneret

Function luaK_setoneret

freebsd/contrib/openzfs/module/lua/lcode.c:369–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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