/// <summary>
 /// Creates a new spilled register
 /// </summary>
 /// <param name="stackIndex">The stack index</param>
 /// <param name="liveInterval">The liveness information</param>
 public SpilledRegister(int stackIndex, LiveInterval liveInterval)
 {
     this.StackIndex = stackIndex;
     this.LiveInterval = liveInterval;
 }
 /// <summary>
 /// Creates a new allocated register
 /// </summary>
 /// <param name="hardwareRegister">The hardware register</param>
 /// <param name="liveInterval">The liveness information</param>
 public AllocatedRegister(int hardwareRegister, LiveInterval liveInterval)
 {
     this.HardwareRegister = hardwareRegister;
     this.LiveInterval = liveInterval;
 }