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

Function luaK_codek

ThirdParty/lua/lua/lcode.c:267–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265
266
267int luaK_codek (FuncState *fs, int reg, int k) {
268 if (k <= MAXARG_Bx)
269 return luaK_codeABx(fs, OP_LOADK, reg, k);
270 else {
271 int p = luaK_codeABx(fs, OP_LOADKX, reg, 0);
272 codeextraarg(fs, k);
273 return p;
274 }
275}
276
277
278void luaK_checkstack (FuncState *fs, int n) {

Callers 2

fornumFunction · 0.85
discharge2regFunction · 0.85

Calls 2

luaK_codeABxFunction · 0.85
codeextraargFunction · 0.85

Tested by

no test coverage detected