MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / luaK_int

Function luaK_int

lib/lua/src/lcode.c:672–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

fornumFunction · 0.85
discharge2regFunction · 0.85

Calls 4

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

Tested by

no test coverage detected