Class IfInstruction

    • Constructor Detail

      • IfInstruction

        IfInstruction()
        Empty constructor needed for Instruction.readInstruction. Not to be used otherwise.
      • IfInstruction

        protected IfInstruction​(short opcode,
                                InstructionHandle target)
        Constructs an IfInstruction.
        Parameters:
        opcode - opcode of instruction.
        target - Target instruction to branch to.
    • Method Detail

      • negate

        public abstract IfInstruction negate()
        Gets the negation of this instruction.
        Returns:
        negation of instruction, for example IFEQ.negate() == IFNE.