** Code binary operators with immediate operands. */
| 1402 | ** Code binary operators with immediate operands. |
| 1403 | */ |
| 1404 | static void codebini (FuncState *fs, OpCode op, |
| 1405 | expdesc *e1, expdesc *e2, int flip, int line, |
| 1406 | TMS event) { |
| 1407 | int v2 = int2sC(cast_int(e2->u.ival)); /* immediate operand */ |
| 1408 | lua_assert(e2->k == VKINT); |
| 1409 | finishbinexpval(fs, e1, e2, op, v2, flip, line, OP_MMBINI, event); |
| 1410 | } |
| 1411 | |
| 1412 | |
| 1413 | /* Try to code a binary operator negating its second operand. |
no test coverage detected