class BasicInterval extends Object
begin - the starting point of the interval end - the ending point of the interval
Begin and end are numbers given to each instruction by a numbering pass.
Modifier and Type | Field and Description |
---|---|
protected int |
begin
DFN of the beginning instruction of this interval
|
protected int |
end
DFN of the last instruction of this interval
|
Constructor and Description |
---|
BasicInterval(int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
contains(int dfn) |
(package private) boolean |
endsAfter(BasicInterval i) |
(package private) boolean |
endsAfter(int dfn) |
(package private) boolean |
endsBefore(int dfn) |
boolean |
equals(Object obj) |
(package private) int |
getBegin() |
(package private) int |
getEnd() |
int |
hashCode() |
(package private) boolean |
intersects(BasicInterval i) |
(package private) boolean |
sameRange(BasicInterval i) |
(package private) void |
setEnd(int newEnd)
Extends a live interval to a new endpoint.
|
(package private) boolean |
startsAfter(int dfn) |
(package private) boolean |
startsBefore(BasicInterval i) |
(package private) boolean |
startsBefore(int dfn) |
String |
toString() |
protected final int begin
protected int end
BasicInterval(int begin, int end)
final int getBegin()
final int getEnd()
final void setEnd(int newEnd)
newEnd
- the new end pointfinal boolean startsAfter(int dfn)
final boolean startsBefore(int dfn)
final boolean endsBefore(int dfn)
final boolean endsAfter(int dfn)
final boolean contains(int dfn)
final boolean startsBefore(BasicInterval i)
final boolean endsAfter(BasicInterval i)
final boolean sameRange(BasicInterval i)
final boolean intersects(BasicInterval i)