org.jikesrvm.compilers.opt.regalloc
Class LinearScan.SpillLocationInterval
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.TreeSet<LinearScan.BasicInterval>
org.jikesrvm.compilers.opt.regalloc.LinearScan.IntervalSet
org.jikesrvm.compilers.opt.regalloc.LinearScan.IncreasingStartIntervalSet
org.jikesrvm.compilers.opt.regalloc.LinearScan.CompoundInterval
org.jikesrvm.compilers.opt.regalloc.LinearScan.SpillLocationInterval
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<LinearScan.BasicInterval>, Collection<LinearScan.BasicInterval>, NavigableSet<LinearScan.BasicInterval>, Set<LinearScan.BasicInterval>, SortedSet<LinearScan.BasicInterval>
- Enclosing class:
- LinearScan
static class LinearScan.SpillLocationInterval
- extends LinearScan.CompoundInterval
The following represents the intervals assigned to a particular spill
location
Field Summary |
private int |
frameOffset
The spill location, an offset from the frame pointer |
(package private) static long |
serialVersionUID
Support for Set serialization |
private int |
size
The size of the spill location, in bytes. |
Methods inherited from class org.jikesrvm.compilers.opt.regalloc.LinearScan.CompoundInterval |
addNonIntersectingInterval, addRange, assign, copy, copy, getAssignment, getBasicInterval, getBasicInterval, getLowerBound, getRegister, getSpillInterval, getUpperBound, headSetInclusive, headSetInclusive, intersects, isAssigned, isInfrequent, isSpilled, removeAll, removeIntervalsAndCache, setFrequent, spill, tailSetInclusive |
Methods inherited from class java.util.TreeSet |
add, addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, subSet, subSet, tailSet, tailSet |
serialVersionUID
static final long serialVersionUID
- Support for Set serialization
- See Also:
- Constant Field Values
frameOffset
private final int frameOffset
- The spill location, an offset from the frame pointer
size
private final int size
- The size of the spill location, in bytes.
LinearScan.SpillLocationInterval
LinearScan.SpillLocationInterval(int frameOffset,
int size)
getOffset
int getOffset()
getSize
int getSize()
toString
public String toString()
- Description copied from class:
LinearScan.CompoundInterval
- Make a String representation
- Overrides:
toString
in class LinearScan.CompoundInterval
hashCode
public int hashCode()
- Redefine hash code for reproducibility.
- Specified by:
hashCode
in interface Collection<LinearScan.BasicInterval>
- Specified by:
hashCode
in interface Set<LinearScan.BasicInterval>
- Overrides:
hashCode
in class AbstractSet<LinearScan.BasicInterval>