MCPcopy Create free account
hub / github.com/F-Stack/f-stack / getjump

Function getjump

freebsd/contrib/openzfs/module/lua/lcode.c:98–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97
98static int getjump (FuncState *fs, int pc) {
99 int offset = GETARG_sBx(fs->f->code[pc]);
100 if (offset == NO_JUMP) /* point to itself represents end of list */
101 return NO_JUMP; /* end of list */
102 else
103 return (pc+1)+offset; /* turn offset into absolute position */
104}
105
106
107static Instruction *getjumpcontrol (FuncState *fs, int pc) {

Callers 5

need_valueFunction · 0.70
removevaluesFunction · 0.70
patchlistauxFunction · 0.70
luaK_patchcloseFunction · 0.70
luaK_concatFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected