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

Function codeAsBx

src/lcode.cpp: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.85
luaK_floatFunction · 0.85

Calls 1

luaK_codeFunction · 0.85

Tested by

no test coverage detected