MCPcopy Create free account
hub / github.com/Cocos-BCX/cocos-mainnet / luaK_codeABC

Function luaK_codeABC

libraries/lua-gph/lib/src/lcode.cpp:313–319  ·  view source on GitHub ↗

** Format and emit an 'iABC' instruction. (Assertions check consistency ** of parameters versus opcode.) */

Source from the content-addressed store, hash-verified

311** of parameters versus opcode.)
312*/
313int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) {
314 lua_assert(getOpMode(o) == iABC);
315 lua_assert(getBMode(o) != OpArgN || b == 0);
316 lua_assert(getCMode(o) != OpArgN || c == 0);
317 lua_assert(a <= MAXARG_A && b <= MAXARG_B && c <= MAXARG_C);
318 return luaK_code(fs, CREATE_ABC(o, a, b, c));
319}
320
321
322/*

Callers 15

luaK_nilFunction · 0.85
luaK_retFunction · 0.85
condjumpFunction · 0.85
luaK_dischargevarsFunction · 0.85
discharge2regFunction · 0.85
code_loadboolFunction · 0.85
luaK_storevarFunction · 0.85
luaK_selfFunction · 0.85
codenotFunction · 0.85
codeunexpvalFunction · 0.85
codebinexpvalFunction · 0.85
luaK_setlistFunction · 0.85

Calls 1

luaK_codeFunction · 0.85

Tested by

no test coverage detected