Package iota

Class NVirtualRegister

java.lang.Object
iota.NRegister
iota.NVirtualRegister

class NVirtualRegister extends NRegister
Representation of a virtual register.
  • Field Details

    • pReg

      public NPhysicalRegister pReg
      The physical register assigned to this virtual register.
    • spill

      public boolean spill
      Whether the physical register must be spilled.
    • offset

      public int offset
      The offset (from stack pointer, SP) where the register will be spilled.
  • Constructor Details

    • NVirtualRegister

      public NVirtualRegister(int number)
      Constructs an NVirtualRegister object.
      Parameters:
      number - register number.