/* ** Returns the position of the instruction "controlling" a given ** jump (that is, its condition), or the jump itself if it is ** unconditional. */ private static InstructionPtr getjumpcontrol(FuncState fs, int pc) { InstructionPtr pi = new InstructionPtr(fs.f.code, pc); if (pc >= 1 && 0 != testTMode(GET_OPCODE(pi[-1]))) { return(InstructionPtr.minus(pi, 1)); } else { return(pi); } }