MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaK_codek

Function luaK_codek

freebsd/contrib/openzfs/module/lua/lcode.c:248–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246
247
248int luaK_codek (FuncState *fs, int reg, int k) {
249 if (k <= MAXARG_Bx)
250 return luaK_codeABx(fs, OP_LOADK, reg, k);
251 else {
252 int p = luaK_codeABx(fs, OP_LOADKX, reg, 0);
253 codeextraarg(fs, k);
254 return p;
255 }
256}
257
258
259void luaK_checkstack (FuncState *fs, int n) {

Callers 2

fornumFunction · 0.85
discharge2regFunction · 0.85

Calls 2

codeextraargFunction · 0.85
luaK_codeABxFunction · 0.70

Tested by

no test coverage detected