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

Function luaK_int

third-party/lua-5.5.0/src/lcode.c:692–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

690
691
692void luaK_int (FuncState *fs, int reg, lua_Integer i) {
693 if (fitsBx(i))
694 codeAsBx(fs, OP_LOADI, reg, cast_int(i));
695 else
696 luaK_codek(fs, reg, luaK_intK(fs, i));
697}
698
699
700static 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