|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.instrsched.Priority org.jikesrvm.compilers.opt.instrsched.DefaultPriority
class DefaultPriority
Default (IR-order) instruction list. Used by the scheduler to enumerate over instructions.
Priority
,
Scheduler
Field Summary | |
---|---|
private BasicBlock |
bb
|
private Instruction |
i
|
private Enumeration<Instruction> |
instr
|
Constructor Summary | |
---|---|
DefaultPriority(BasicBlock bb)
Creates new priority object for a given basic block |
Method Summary | |
---|---|
boolean |
hasMoreElements()
Returns true if there are more instructions, false otherwise |
Instruction |
nextElement()
Returns the next instruction in sequence |
void |
reset()
Resets the enumeration to the first instruction in sequence |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final BasicBlock bb
private Instruction i
private Enumeration<Instruction> instr
Constructor Detail |
---|
public DefaultPriority(BasicBlock bb)
bb
- basic blockMethod Detail |
---|
public final void reset()
Priority
reset
in class Priority
public final boolean hasMoreElements()
Priority
true
if there are more instructions, false otherwise
hasMoreElements
in interface Enumeration<Instruction>
hasMoreElements
in class Priority
true
if there are more instructions, false otherwisepublic final Instruction nextElement()
Priority
nextElement
in interface Enumeration<Instruction>
nextElement
in class Priority
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |