MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / luaK_int

Function luaK_int

extlibs/lua/src/lcode.c:659–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657
658
659void luaK_int (FuncState *fs, int reg, lua_Integer i) {
660 if (fitsBx(i))
661 luaK_codeAsBx(fs, OP_LOADI, reg, cast_int(i));
662 else
663 luaK_codek(fs, reg, luaK_intK(fs, i));
664}
665
666
667static void luaK_float (FuncState *fs, int reg, lua_Number f) {

Callers 2

fornumFunction · 0.85
discharge2regFunction · 0.85

Calls 4

fitsBxFunction · 0.85
luaK_codeAsBxFunction · 0.85
luaK_codekFunction · 0.85
luaK_intKFunction · 0.85

Tested by

no test coverage detected