MCPcopy Create free account
hub / github.com/axmolengine/axmol / codeAsBx

Function codeAsBx

3rdparty/lua/plainlua/lcode.c:419–424  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 2

luaK_intFunction · 0.85
luaK_floatFunction · 0.85

Calls 1

luaK_codeFunction · 0.85

Tested by

no test coverage detected