| 734 | |
| 735 | |
| 736 | void luaK_indexed (FuncState *fs, expdesc *t, expdesc *k) { |
| 737 | lua_assert(!hasjumps(t)); |
| 738 | t->u.ind.t = t->u.info; |
| 739 | t->u.ind.idx = luaK_exp2RK(fs, k); |
| 740 | t->u.ind.vt = (t->k == VUPVAL) ? VUPVAL |
| 741 | : check_exp(vkisinreg(t->k), VLOCAL); |
| 742 | t->k = VINDEXED; |
| 743 | } |
| 744 | |
| 745 | |
| 746 | /* |
no test coverage detected