MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / getjump

Function getjump

ThirdParty/lua/lua/lcode.c:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116
117static int getjump (FuncState *fs, int pc) {
118 int offset = GETARG_sBx(fs->f->code[pc]);
119 if (offset == NO_JUMP) /* point to itself represents end of list */
120 return NO_JUMP; /* end of list */
121 else
122 return (pc+1)+offset; /* turn offset into absolute position */
123}
124
125
126static Instruction *getjumpcontrol (FuncState *fs, int pc) {

Callers 5

need_valueFunction · 0.85
removevaluesFunction · 0.85
patchlistauxFunction · 0.85
luaK_patchcloseFunction · 0.85
luaK_concatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected