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

Function getjump

Source/Misc/lua/src/lua.c:3769–3775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3767
3768
3769static int getjump (FuncState *fs, int pc) {
3770int offset = GETARG_sBx(fs->f->code[pc]);
3771if (offset == NO_JUMP) /* point to itself represents end of list */
3772return NO_JUMP; /* end of list */
3773else
3774return (pc+1)+offset; /* turn offset into absolute position */
3775}
3776
3777
3778static Instruction *getjumpcontrol (FuncState *fs, int pc) {

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected