MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / luaK_int

Function luaK_int

src/lcode.cpp:693–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691
692
693void luaK_int (FuncState *fs, int reg, lua_Integer i) {
694 if (fitsBx(i))
695 codeAsBx(fs, OP_LOADI, reg, cast_int(i));
696 else
697 luaK_codek(fs, reg, luaK_intK(fs, i));
698}
699
700
701static void luaK_float (FuncState *fs, int reg, lua_Number f) {

Callers 2

discharge2regFunction · 0.85
fornumFunction · 0.85

Calls 4

fitsBxFunction · 0.85
codeAsBxFunction · 0.85
luaK_codekFunction · 0.85
luaK_intKFunction · 0.85

Tested by

no test coverage detected