Jurassic.Compiler.DynamicILGenerator.ReplaceEvaluationStack C# (CSharp) Méthode

ReplaceEvaluationStack() private méthode

Removes all values from the evaluation stack and adds the given operand types back.
private ReplaceEvaluationStack ( ) : void
Résultat void
        private void ReplaceEvaluationStack(params VESType[] operandTypes)
        {
            this.stackSize = operandTypes.Length;
            this.maxStackSize = Math.Max(this.stackSize, this.maxStackSize);
#if DEBUG
            this.operands.Clear();
            foreach (var operandType in operandTypes)
                this.operands.Push(operandType);
#endif
        }
DynamicILGenerator