public interface UnitBox
extends java.io.Serializable
Unit
Modifier and Type | Method and Description |
---|---|
boolean |
canContainUnit(Unit u)
Returns true if this box can contain the given Unit.
|
Unit |
getUnit()
Returns the unit contained within this box.
|
boolean |
isBranchTarget()
Returns true if the UnitBox is holding a Unit that is the
target of a branch (ie a Unit at the beginning of a CFG block).
|
void |
setUnit(Unit u)
Sets this box to contain the given unit.
|
void |
toString(UnitPrinter up) |
void setUnit(Unit u)
Unit getUnit()
boolean canContainUnit(Unit u)
boolean isBranchTarget()
Returns false if the UnitBox is holding a Unit that indicates the end of a CFG block and may require specialised processing for SSA.
void toString(UnitPrinter up)