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

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

static final class PhysicalRegisterSet.PhysicalRegisterEnumeration
extends Object
implements Enumeration<Register>

An enumerator for use by the physical register utilities.


Field Summary
private  int index
           
private  Register[] r
           
 
Constructor Summary
PhysicalRegisterSet.PhysicalRegisterEnumeration(Register[] r)
           
 
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

index

private int index

r

private final Register[] r
Constructor Detail

PhysicalRegisterSet.PhysicalRegisterEnumeration

PhysicalRegisterSet.PhysicalRegisterEnumeration(Register[] r)
Method Detail

nextElement

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

hasMoreElements

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