** Check whether instruction uses top from previous instruction, that is, ** it accepts multiple results. */
| 129 | ** it accepts multiple results. |
| 130 | */ |
| 131 | int luaP_isIT (Instruction i) { |
| 132 | OpCode op = GET_OPCODE(i); |
| 133 | switch (op) { |
| 134 | case OP_SETLIST: |
| 135 | return testITMode(GET_OPCODE(i)) && GETARG_vB(i) == 0; |
| 136 | default: |
| 137 | return testITMode(GET_OPCODE(i)) && GETARG_B(i) == 0; |
| 138 | } |
| 139 | } |
| 140 |
no outgoing calls
no test coverage detected