MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / luaK_codeAsBx

Function luaK_codeAsBx

3rd/lua-5.4.3/src/lcode.c:417–422  ·  view source on GitHub ↗

** Format and emit an 'iAsBx' instruction. */

Source from the content-addressed store, hash-verified

415** Format and emit an 'iAsBx' instruction.
416*/
417int luaK_codeAsBx (FuncState *fs, OpCode o, int a, int bc) {
418 unsigned int b = bc + OFFSET_sBx;
419 lua_assert(getOpMode(o) == iAsBx);
420 lua_assert(a <= MAXARG_A && b <= MAXARG_Bx);
421 return luaK_code(fs, CREATE_ABx(o, a, b));
422}
423
424
425/*

Callers 2

luaK_intFunction · 0.85
luaK_floatFunction · 0.85

Calls 1

luaK_codeFunction · 0.85

Tested by

no test coverage detected