MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / luaK_concat

Function luaK_concat

Source/Misc/lua/src/lua.c:3854–3865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3852
3853
3854void luaK_concat (FuncState *fs, int *l1, int l2) {
3855if (l2 == NO_JUMP) return;
3856else if (*l1 == NO_JUMP)
3857*l1 = l2;
3858else {
3859int list = *l1;
3860int next;
3861while ((next = getjump(fs, list)) != NO_JUMP) /* find last element */
3862list = next;
3863fixjump(fs, list, l2);
3864}
3865}
3866
3867
3868void luaK_checkstack (FuncState *fs, int n) {

Callers 8

luaK_jumpFunction · 0.85
luaK_patchtohereFunction · 0.85
exp2regFunction · 0.85
luaK_goiftrueFunction · 0.85
luaK_goiffalseFunction · 0.85
luaK_posfixFunction · 0.85
breakstatFunction · 0.85
ifstatFunction · 0.85

Calls 2

getjumpFunction · 0.85
fixjumpFunction · 0.85

Tested by

no test coverage detected