| 165 | |
| 166 | |
| 167 | static void patchlistaux (FuncState *fs, int list, int vtarget, int reg, |
| 168 | int dtarget) { |
| 169 | while (list != NO_JUMP) { |
| 170 | int next = getjump(fs, list); |
| 171 | if (patchtestreg(fs, list, reg)) |
| 172 | fixjump(fs, list, vtarget); |
| 173 | else |
| 174 | fixjump(fs, list, dtarget); /* jump to default target */ |
| 175 | list = next; |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | |
| 180 | static void dischargejpc (FuncState *fs) { |
no test coverage detected