Class BranchUnlessIR

  • All Implemented Interfaces:
    IR, JumpIR, java.io.Serializable

    public class BranchUnlessIR
    extends java.lang.Object
    implements IR, JumpIR
    See Also:
    Serialized Form
    • Field Detail

      • pc

        private int pc
      • label

        private final Label label
    • Constructor Detail

      • BranchUnlessIR

        public BranchUnlessIR​(Label label,
                              SourceInfo sourceInfo)
    • Method Detail

      • getPc

        public int getPc()
      • setPc

        public void setPc​(int pc)
        Specified by:
        setPc in interface JumpIR
      • mayBeCost

        public boolean mayBeCost()
        Description copied from interface: IR
        Returns true when the IR execution cost may be expensive
        Specified by:
        mayBeCost in interface IR
        Returns:
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object