org.jikesrvm.compilers.opt
Class DefUse.RegOpListWalker

java.lang.Object
  extended by 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.


Field Summary
private  RegisterOperand current
           
 
Constructor Summary
DefUse.RegOpListWalker(RegisterOperand start)
           
 
Method Summary
 boolean hasMoreElements()
           
 RegisterOperand nextElement()
           
private static void raiseNoSuchElementException()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

current

private RegisterOperand current
Constructor Detail

DefUse.RegOpListWalker

DefUse.RegOpListWalker(RegisterOperand start)
Method Detail

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()