MCPcopy Create free account
hub / github.com/danomatika/ofxLua / codebinK

Function codebinK

libs/lua/lcode.c:1448–1454  ·  view source on GitHub ↗

** Code binary operators with K operand. */

Source from the content-addressed store, hash-verified

1446** Code binary operators with K operand.
1447*/
1448static void codebinK (FuncState *fs, BinOpr opr,
1449 expdesc *e1, expdesc *e2, int flip, int line) {
1450 TMS event = binopr2TM(opr);
1451 int v2 = e2->u.info; /* K index */
1452 OpCode op = binopr2op(opr, OPR_ADD, OP_ADDK);
1453 finishbinexpval(fs, e1, e2, op, v2, flip, line, OP_MMBINK, event);
1454}
1455
1456
1457/* Try to code a binary operator negating its second operand.

Callers 2

codearithFunction · 0.85
codebitwiseFunction · 0.85

Calls 3

binopr2TMFunction · 0.85
binopr2opFunction · 0.85
finishbinexpvalFunction · 0.85

Tested by

no test coverage detected