org.jikesrvm.compilers.opt.ir.ia32
Class PhysicalDefUse.PDUEnumeration

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

public static final class PhysicalDefUse.PDUEnumeration
extends Object
implements Enumeration<Register>

A class to enumerate physical registers based on a code.


Field Summary
private  int code
           
private  int curMask
           
private  PhysicalRegisterSet phys
           
 
Constructor Summary
PhysicalDefUse.PDUEnumeration(int c, IR ir)
           
 
Method Summary
private static Register getReg(int m, PhysicalRegisterSet phys)
           
 boolean hasMoreElements()
           
 Register nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

private int code

curMask

private int curMask

phys

private PhysicalRegisterSet phys
Constructor Detail

PhysicalDefUse.PDUEnumeration

PhysicalDefUse.PDUEnumeration(int c,
                              IR ir)
Method Detail

hasMoreElements

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

nextElement

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

getReg

private static Register getReg(int m,
                               PhysicalRegisterSet phys)