org.jikesrvm.compilers.opt
Class DefUse.RegOpListWalker
java.lang.Object
org.jikesrvm.compilers.opt.DefUse.RegOpListWalker
- All Implemented Interfaces:
- Enumeration<RegisterOperand>
- Enclosing class:
- DefUse
private static final class DefUse.RegOpListWalker
- extends Object
- implements Enumeration<RegisterOperand>
Utility class to encapsulate walking a use/def list.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
current
private RegisterOperand current
DefUse.RegOpListWalker
DefUse.RegOpListWalker(RegisterOperand start)
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration<RegisterOperand>
nextElement
public RegisterOperand nextElement()
- Specified by:
nextElement
in interface Enumeration<RegisterOperand>
raiseNoSuchElementException
private static void raiseNoSuchElementException()