org.jikesrvm.compilers.opt.ir.ia32
Class PhysicalDefUse.PDUEnumeration
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code
private int code
curMask
private int curMask
phys
private PhysicalRegisterSet phys
PhysicalDefUse.PDUEnumeration
PhysicalDefUse.PDUEnumeration(int c,
IR ir)
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)