org.jikesrvm.compilers.opt.instrsched
Class Scheduler.InstructionBucket

java.lang.Object
  extended by org.jikesrvm.compilers.opt.instrsched.Scheduler.InstructionBucket
Enclosing class:
Scheduler

private static final class Scheduler.InstructionBucket
extends Object

A class representing sorted list of instructions. The instructions are sorted by their position on the critical path.


Field Summary
 Instruction instruction
          The instruction in the current slot.
 Scheduler.InstructionBucket next
          Next pointer.
 
Constructor Summary
private Scheduler.InstructionBucket(Instruction i)
          Create a list element containing the instruction.
 
Method Summary
static void insert(Scheduler.InstructionBucket[] pool, Instruction i)
          Insert the instruction into a given slot (based on its scheduling time).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instruction

public Instruction instruction
The instruction in the current slot.


next

public Scheduler.InstructionBucket next
Next pointer.

Constructor Detail

Scheduler.InstructionBucket

private Scheduler.InstructionBucket(Instruction i)
Create a list element containing the instruction.

Parameters:
i - given instruction
Method Detail

insert

public static void insert(Scheduler.InstructionBucket[] pool,
                          Instruction i)
Insert the instruction into a given slot (based on its scheduling time).

Parameters:
pool - the bucket pool
i - given instruction