Package iota
Class NVirtualRegister
java.lang.Object
iota.NRegister
iota.NVirtualRegister
Representation of a virtual register.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
The offset (from stack pointer, SP) where the register will be spilled.The physical register assigned to this virtual register.boolean
Whether the physical register must be spilled. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class iota.NRegister
toPhysicalRegister, toString
-
Field Details
-
pReg
The physical register assigned to this virtual register. -
spill
public boolean spillWhether the physical register must be spilled. -
offset
public int offsetThe 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.
-