コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <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);
コード例 #3
0
 /// <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);
コード例 #4
0
 /// <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);