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

Function luaK_int

third-party/lua-5.4.6/src/lcode.c:673–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

671
672
673void luaK_int (FuncState *fs, int reg, lua_Integer i) {
674 if (fitsBx(i))
675 codeAsBx(fs, OP_LOADI, reg, cast_int(i));
676 else
677 luaK_codek(fs, reg, luaK_intK(fs, i));
678}
679
680
681static void luaK_float (FuncState *fs, int reg, lua_Number f) {

Callers 2

fornumFunction · 0.70
discharge2regFunction · 0.70

Calls 4

fitsBxFunction · 0.70
codeAsBxFunction · 0.70
luaK_codekFunction · 0.70
luaK_intKFunction · 0.70

Tested by

no test coverage detected