CodeGeneration.CGenState.CGenForceStackSizeTo C# (CSharp) Méthode

CGenForceStackSizeTo() public méthode

public CGenForceStackSizeTo ( Int32 nbytes ) : void
nbytes System.Int32
Résultat void
        public void CGenForceStackSizeTo(Int32 nbytes) {
            this.StackSize = nbytes;
            LEA(-nbytes, Reg.EBP, Reg.ESP);
        }

Usage Example

Exemple #1
0
 public override void CGenStmt(Env env, CGenState state) {
     if (this.ExprOpt.IsSome) {
         Int32 stack_size = state.StackSize;
         this.ExprOpt.Value.CGenValue(state);
         state.CGenForceStackSizeTo(stack_size);
     }
 }
All Usage Examples Of CodeGeneration.CGenState::CGenForceStackSizeTo