Package jminusminus

Class NVirtualRegister

java.lang.Object
jminusminus.NRegister
jminusminus.NVirtualRegister

class NVirtualRegister extends NRegister
Representation for a virtual register.
  • Constructor Details

    • NVirtualRegister

      public NVirtualRegister(int number, String sType, String lType)
      Constructs an NVirutalRegister..
      Parameters:
      number - register number.
      sType - type (short name) of value in register.
      lType - type (long name) of value in register.
  • Method Details

    • toString

      public String toString()
      Returns a string representation of this virtual register.
      Overrides:
      toString in class Object
      Returns:
      a string representation of this virtual register.