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