org.jikesrvm.compilers.opt.ir
Class Instruction.BASE_OE

java.lang.Object
  extended by org.jikesrvm.compilers.opt.ir.Instruction.BASE_OE
All Implemented Interfaces:
Enumeration<Operand>
Direct Known Subclasses:
Instruction.MOE, Instruction.OE, Instruction.OEDefsOnly, Instruction.ROE
Enclosing class:
Instruction

private abstract static class Instruction.BASE_OE
extends Object
implements Enumeration<Operand>

Shared functionality for operand enumerations


Field Summary
protected static boolean DEBUG
           
protected  int end
           
protected  int i
           
protected  Instruction instr
           
protected  Operand nextElem
           
 
Constructor Summary
protected Instruction.BASE_OE(Instruction instr, int start, int end)
           
 
Method Summary
protected abstract  void advance()
           
private static void fail()
           
 boolean hasMoreElements()
           
 Operand nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instr

protected final Instruction instr

i

protected int i

end

protected final int end

nextElem

protected Operand nextElem

DEBUG

protected static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

Instruction.BASE_OE

protected Instruction.BASE_OE(Instruction instr,
                              int start,
                              int end)
Method Detail

hasMoreElements

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

nextElement

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

advance

protected abstract void advance()

fail

private static void fail()