Class IF_ICMPEQ

All Implemented Interfaces:
Cloneable, InstructionTargeter, StackConsumer

public class IF_ICMPEQ extends IfInstruction
IF_ICMPEQ - Branch if int comparison succeeds
Stack: ..., value1, value2 -> ...
  • Constructor Details

    • IF_ICMPEQ

      public IF_ICMPEQ(InstructionHandle target)
      Constructs an IF_ICMPEQ instruction.
      Parameters:
      target - the target instruction.
  • Method Details

    • accept

      public void accept(Visitor v)
      Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, that is, the most specific visitXXX() call comes last.
      Specified by:
      accept in class Instruction
      Parameters:
      v - Visitor object.
    • negate

      Description copied from class: IfInstruction
      Gets the negation of this instruction.
      Specified by:
      negate in class IfInstruction
      Returns:
      negation of instruction.