** Format and emit an 'iAsBx' instruction. */
| 426 | ** Format and emit an 'iAsBx' instruction. |
| 427 | */ |
| 428 | static 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 | /* |
no test coverage detected