org.jikesrvm.compilers.opt.regalloc
Class LinearScan.SpillLocationInterval

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.TreeSet<LinearScan.BasicInterval>
              extended by org.jikesrvm.compilers.opt.regalloc.LinearScan.IntervalSet
                  extended by org.jikesrvm.compilers.opt.regalloc.LinearScan.IncreasingStartIntervalSet
                      extended by org.jikesrvm.compilers.opt.regalloc.LinearScan.CompoundInterval
                          extended by 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.
 
Fields inherited from class org.jikesrvm.compilers.opt.regalloc.LinearScan.IncreasingStartIntervalSet
c
 
Constructor Summary
LinearScan.SpillLocationInterval(int frameOffset, int size)
           
 
Method Summary
(package private)  int getOffset()
           
(package private)  int getSize()
           
 int hashCode()
          Redefine hash code for reproducibility.
 String toString()
          Make a String representation
 
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
 
Methods inherited from class java.util.AbstractSet
equals, removeAll
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
containsAll, equals, removeAll, retainAll, toArray, toArray
 

Field Detail

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.

Constructor Detail

LinearScan.SpillLocationInterval

LinearScan.SpillLocationInterval(int frameOffset,
                                 int size)
Method Detail

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>