org.jikesrvm.compilers.opt.ir.ia32
Class PhysicalRegisterSet.RangeEnumeration

java.lang.Object
  extended by org.jikesrvm.compilers.opt.ir.ia32.PhysicalRegisterSet.RangeEnumeration
All Implemented Interfaces:
Enumeration<Register>
Enclosing class:
PhysicalRegisterSet

final class PhysicalRegisterSet.RangeEnumeration
extends Object
implements Enumeration<Register>

An enumerator for use by the physical register utilities.


Field Summary
private  int end
           
private  int exclude
           
private  int index
           
 
Constructor Summary
PhysicalRegisterSet.RangeEnumeration(int start, int end)
           
PhysicalRegisterSet.RangeEnumeration(int start, int end, int exclude)
           
 
Method Summary
 boolean hasMoreElements()
           
 Register nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

end

private final int end

index

private int index

exclude

private final int exclude
Constructor Detail

PhysicalRegisterSet.RangeEnumeration

PhysicalRegisterSet.RangeEnumeration(int start,
                                     int end)

PhysicalRegisterSet.RangeEnumeration

PhysicalRegisterSet.RangeEnumeration(int start,
                                     int end,
                                     int exclude)
Method Detail

nextElement

public Register nextElement()
Specified by:
nextElement in interface Enumeration<Register>

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<Register>