MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / codebini

Function codebini

lua/src/lcode.c:1404–1410  ·  view source on GitHub ↗

** Code binary operators with immediate operands. */

Source from the content-addressed store, hash-verified

1402** Code binary operators with immediate operands.
1403*/
1404static 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.

Callers 2

codecommutativeFunction · 0.85
luaK_posfixFunction · 0.85

Calls 1

finishbinexpvalFunction · 0.85

Tested by

no test coverage detected