Package iota

Class NRegisterAllocator

java.lang.Object
iota.NRegisterAllocator
Direct Known Subclasses:
NGraphRegisterAllocator, NNaiveRegisterAllocator

abstract class NRegisterAllocator extends Object
An abstract representation of a register allocator.
  • Field Details

  • Constructor Details

    • NRegisterAllocator

      protected NRegisterAllocator(NControlFlowGraph cfg)
      Constructs an NRegisterAllocator object.
      Parameters:
      cfg - control flow graph for the method.
  • Method Details

    • run

      public abstract void run()
      Allocates physical registers to virtual registers.