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

Function codeAsBx

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

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

Source from the content-addressed store, hash-verified

426** Format and emit an 'iAsBx' instruction.
427*/
428static int codeAsBx (FuncState *fs, OpCode o, int A, int Bc) {
429 int b = Bc + OFFSET_sBx;
430 lua_assert(getOpMode(o) == iAsBx);
431 lua_assert(A <= MAXARG_A && b <= MAXARG_Bx);
432 return luaK_code(fs, CREATE_ABx(o, A, b));
433}
434
435
436/*

Callers 2

luaK_intFunction · 0.70
luaK_floatFunction · 0.70

Calls 1

luaK_codeFunction · 0.70

Tested by

no test coverage detected