MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / invertjump

Function invertjump

src/Chain/libraries/glua/lcode.cpp:632–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630
631
632static void invertjump(FuncState *fs, expdesc *e) {
633 Instruction *pc = getjumpcontrol(fs, e->u.info);
634 lua_assert(testTMode(GET_OPCODE(*pc)) && GET_OPCODE(*pc) != OP_TESTSET &&
635 GET_OPCODE(*pc) != OP_TEST);
636 SETARG_A(*pc, !(GETARG_A(*pc)));
637}
638
639
640static 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