MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / luaK_indexed

Function luaK_indexed

src/Chain/libraries/glua/lcode.cpp:737–744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

singlevarFunction · 0.85
fieldselFunction · 0.85
suffixedexpFunction · 0.85

Calls 1

luaK_exp2RKFunction · 0.85

Tested by

no test coverage detected