MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / getjumpcontrol

Function getjumpcontrol

Source/Misc/lua/src/lua.c:3778–3784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3776
3777
3778static Instruction *getjumpcontrol (FuncState *fs, int pc) {
3779Instruction *pi = &fs->f->code[pc];
3780if (pc >= 1 && testTMode(GET_OPCODE(*(pi-1))))
3781return pi-1;
3782else
3783return pi;
3784}
3785
3786
3787/*

Callers 3

need_valueFunction · 0.85
patchtestregFunction · 0.85
invertjumpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected