| 367 | |
| 368 | |
| 369 | void 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 | |
| 381 | void luaK_dischargevars (FuncState *fs, expdesc *e) { |
no outgoing calls
no test coverage detected