MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaK_codek

Function luaK_codek

third-party/lua-5.2.4/src/lcode.c:250–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

fornumFunction · 0.70
discharge2regFunction · 0.70

Calls 2

luaK_codeABxFunction · 0.70
codeextraargFunction · 0.70

Tested by

no test coverage detected