MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / luaK_codeAsBx

Function luaK_codeAsBx

extlibs/lua/src/lcode.c:426–431  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

424** Format and emit an 'iAsBx' instruction.
425*/
426int luaK_codeAsBx (FuncState *fs, OpCode o, int a, int bc) {
427 unsigned int b = bc + OFFSET_sBx;
428 lua_assert(getOpMode(o) == iAsBx);
429 lua_assert(a <= MAXARG_A && b <= MAXARG_Bx);
430 return luaK_code(fs, CREATE_ABx(o, a, b));
431}
432
433
434/*

Callers 2

luaK_intFunction · 0.85
luaK_floatFunction · 0.85

Calls 1

luaK_codeFunction · 0.85

Tested by

no test coverage detected