MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / invertjump

Function invertjump

lua/lcode.c:523–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521
522
523static void invertjump (FuncState *fs, expdesc *e) {
524 Instruction *pc = getjumpcontrol(fs, e->u.s.info);
525 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET &&
526 GET_OPCODE(*pc) != OP_TEST);
527 SETARG_A(*pc, !(GETARG_A(*pc)));
528}
529
530
531static int jumponcond (FuncState *fs, expdesc *e, int cond) {

Callers 2

luaK_goiftrueFunction · 0.85
codenotFunction · 0.85

Calls 1

getjumpcontrolFunction · 0.85

Tested by

no test coverage detected