Class IF_ACMPEQ

All Implemented Interfaces:
Cloneable, InstructionTargeter, StackConsumer

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

    • IF_ACMPEQ

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

      public IF_ACMPEQ(InstructionHandle target)
  • 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, i.e., the most specific visitXXX() call comes last.
      Specified by:
      accept in class Instruction
      Parameters:
      v - Visitor object
    • negate

      public IfInstruction negate()
      Specified by:
      negate in class IfInstruction
      Returns:
      negation of instruction