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