Class StoreInstruction

    • Method Detail

      • make

        public static StoreInstruction make​(java.lang.String type,
                                            int index)
                                     throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • getVarIndex

        public int getVarIndex()
        Specified by:
        getVarIndex in interface IStoreInstruction
        Returns:
        the index of the local variable stored
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • visit

        public void visit​(IInstruction.Visitor v)
                   throws java.lang.NullPointerException
        Description copied from class: Instruction
        Apply a Visitor to this instruction. We invoke the appropriate Visitor method according to the type of this instruction.
        Specified by:
        visit in interface IInstruction
        Specified by:
        visit in class Instruction
        Throws:
        java.lang.NullPointerException
      • isPEI

        public boolean isPEI()
        Description copied from interface: IInstruction
        PEI == "Potentially excepting instruction"
        Specified by:
        isPEI in interface IInstruction
        Returns:
        true iff this instruction might throw an exception