** check whether list has any jump that do not produce a value ** or produce an inverted value */
| 882 | ** or produce an inverted value |
| 883 | */ |
| 884 | static int need_value (FuncState *fs, int list) { |
| 885 | for (; list != NO_JUMP; list = getjump(fs, list)) { |
| 886 | Instruction i = *getjumpcontrol(fs, list); |
| 887 | if (GET_OPCODE(i) != OP_TESTSET) return 1; |
| 888 | } |
| 889 | return 0; /* not found */ |
| 890 | } |
| 891 | |
| 892 | |
| 893 | /* |
no test coverage detected