MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / codebini

Function codebini

extlibs/lua/src/lcode.c:1386–1392  ·  view source on GitHub ↗

** Code binary operators with immediate operands. */

Source from the content-addressed store, hash-verified

1384** Code binary operators with immediate operands.
1385*/
1386static void codebini (FuncState *fs, OpCode op,
1387 expdesc *e1, expdesc *e2, int flip, int line,
1388 TMS event) {
1389 int v2 = int2sC(cast_int(e2->u.ival)); /* immediate operand */
1390 lua_assert(e2->k == VKINT);
1391 finishbinexpval(fs, e1, e2, op, v2, flip, line, OP_MMBINI, event);
1392}
1393
1394
1395/* 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