Beispiel #1
0
        internal InterpretedFrame(Interpreter interpreter, StrongBox<object>[] closure) {
            Interpreter = interpreter;
            StackIndex = interpreter.Locals.LocalCount;
            Data = new object[StackIndex + interpreter.Instructions.MaxStackDepth];

            int c = interpreter.Instructions.MaxContinuationDepth;
            if (c > 0) {
                _continuations = new int[c];
            }

            Closure = closure;
        }
Beispiel #2
0
 internal InterpretedFrame(Interpreter interpreter, StrongBox<object>[] closure) {
     Interpreter = interpreter;
     StackIndex = interpreter._numberOfLocals;
     Data = new object[interpreter._numberOfLocals + interpreter._maxStackDepth];
     Closure = closure;
 }
 internal LightDelegateCreator(Interpreter interpreter, LambdaExpression lambda, IList<ParameterExpression> closureVariables) {
     _interpreter = interpreter;
     _lambda = lambda;
     _closureVariables = closureVariables;
 }
 internal LightDelegateCreator(Interpreter interpreter, LambdaExpression lambda) {
     Assert.NotNull(lambda);
     _interpreter = interpreter;
     _lambda = lambda;
 }
 internal LightDelegateCreator(Interpreter interpreter, LightLambdaExpression lambda)
 {
     Assert.NotNull(lambda);
     _interpreter = interpreter;
     _lambda      = lambda;
 }