** check whether list has any jump that do not produce a value ** or produce an inverted value */
| 896 | ** or produce an inverted value |
| 897 | */ |
| 898 | static int need_value (FuncState *fs, int list) { |
| 899 | for (; list != NO_JUMP; list = getjump(fs, list)) { |
| 900 | Instruction i = *getjumpcontrol(fs, list); |
| 901 | if (GET_OPCODE(i) != OP_TESTSET) return 1; |
| 902 | } |
| 903 | return 0; /* not found */ |
| 904 | } |
| 905 | |
| 906 | |
| 907 | /* |
no test coverage detected