** check whether list has any jump that do not produce a value ** or produce an inverted value */
| 953 | ** or produce an inverted value |
| 954 | */ |
| 955 | static int need_value (FuncState *fs, int list) { |
| 956 | for (; list != NO_JUMP; list = getjump(fs, list)) { |
| 957 | Instruction i = *getjumpcontrol(fs, list); |
| 958 | if (GET_OPCODE(i) != OP_TESTSET) return 1; |
| 959 | } |
| 960 | return 0; /* not found */ |
| 961 | } |
| 962 | |
| 963 | |
| 964 | /* |
no test coverage detected