/// <summary> /// Indicates that the given temporary variable is no longer needed. /// </summary> /// <param name="temporaryVariable"> The temporary variable created using CreateTemporaryVariable(). </param> public void ReleaseTemporaryVariable(ILLocalVariable temporaryVariable) { if (temporaryVariable == null) { throw new ArgumentNullException("temporaryVariable"); } if (this.temporaryVariables == null) { this.temporaryVariables = new List <ILLocalVariable>(); } this.temporaryVariables.Add(temporaryVariable); }
/// <summary> /// Pushes the address of the given variable onto the stack. /// </summary> /// <param name="variable"> The variable whose address will be pushed. </param> public abstract void LoadAddressOfVariable(ILLocalVariable variable);
/// <summary> /// Pops the value from the top of the stack and stores it in the given local variable. /// </summary> /// <param name="variable"> The variable to store the value. </param> public abstract void StoreVariable(ILLocalVariable variable);
/// <summary> /// Pushes the value of the given variable onto the stack. /// </summary> /// <param name="variable"> The variable whose value will be pushed. </param> public abstract void LoadVariable(ILLocalVariable variable);