| 1857 | } |
| 1858 | |
| 1859 | void listUpvalues(GluaDecompileContextP ctx, const Proto* f, std::stringstream &str) { |
| 1860 | int i = 0; |
| 1861 | str << getUpvalName(ctx, f, i); |
| 1862 | for (i = 1; i < NUPS(f); i++) { |
| 1863 | str << ", " << getUpvalName(ctx, f, i); |
| 1864 | } |
| 1865 | } |
| 1866 | |
| 1867 | int isTestOpCode(OpCode op) { |
| 1868 | return (op == OP_EQ || op == OP_LE || op == OP_LT || op == OP_TEST || op == OP_TESTSET); |
no test coverage detected