MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / luaK_concat

Function luaK_concat

ThirdParty/lua/lua/lcode.c:215–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213
214
215void luaK_concat (FuncState *fs, int *l1, int l2) {
216 if (l2 == NO_JUMP) return;
217 else if (*l1 == NO_JUMP)
218 *l1 = l2;
219 else {
220 int list = *l1;
221 int next;
222 while ((next = getjump(fs, list)) != NO_JUMP) /* find last element */
223 list = next;
224 fixjump(fs, list, l2);
225 }
226}
227
228
229static int luaK_code (FuncState *fs, Instruction i) {

Callers 7

test_then_blockFunction · 0.85
luaK_jumpFunction · 0.85
luaK_patchtohereFunction · 0.85
exp2regFunction · 0.85
luaK_goiftrueFunction · 0.85
luaK_goiffalseFunction · 0.85
luaK_posfixFunction · 0.85

Calls 2

getjumpFunction · 0.85
fixjumpFunction · 0.85

Tested by 1

test_then_blockFunction · 0.68