org.norecess.citkit.lir
Class LIRLabel
java.lang.Object
org.norecess.citkit.lir.LIRLabel
- All Implemented Interfaces:
- LIRControlDestination, LIRInstruction
public class LIRLabel
- extends java.lang.Object
- implements LIRInstruction, LIRControlDestination
Constructor Summary |
LIRLabel(java.lang.String label)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LIRLabel
public LIRLabel(java.lang.String label)
getLabel
public java.lang.String getLabel()
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
accept
public <T> T accept(LIRInstructionVisitor<T> visitor)
- Specified by:
accept
in interface LIRInstruction
accept
public <T> T accept(LIRControlDestinationVisitor<T> visitor)
- Specified by:
accept
in interface LIRControlDestination