** Gets the destination address of a jump instruction. Used to traverse ** a list of jumps. */
| 88 | ** a list of jumps. |
| 89 | */ |
| 90 | static int getjump (FuncState *fs, int pc) { |
| 91 | int offset = GETARG_sBx(fs->f->code[pc]); |
| 92 | if (offset == NO_JUMP) /* point to itself represents end of list */ |
| 93 | return NO_JUMP; /* end of list */ |
| 94 | else |
| 95 | return (pc+1)+offset; /* turn offset into absolute position */ |
| 96 | } |
| 97 | |
| 98 | |
| 99 | /* |
no outgoing calls
no test coverage detected