58 references to Stack
System.Core (58)
Microsoft\Scripting\Compiler\StackSpiller.Bindings.cs (4)
49
internal static BindingRewriter Create(MemberBinding binding, StackSpiller spiller,
Stack
stack) {
69
internal MemberMemberBindingRewriter(MemberMemberBinding binding, StackSpiller spiller,
Stack
stack) :
129
internal ListBindingRewriter(MemberListBinding binding, StackSpiller spiller,
Stack
stack) :
199
internal MemberAssignmentRewriter(MemberAssignment binding, StackSpiller spiller,
Stack
stack) :
Microsoft\Scripting\Compiler\StackSpiller.cs (49)
83
private readonly
Stack
_startingStack;
98
return lambda.Accept(new StackSpiller(
Stack
.Empty));
101
private StackSpiller(
Stack
stack) {
157
private Result RewriteExpressionFreeTemps(Expression expression,
Stack
stack) {
166
private Result RewriteDynamicExpression(Expression expr,
Stack
stack) {
171
ChildRewriter cr = new ChildRewriter(this,
Stack
.NonEmpty, argNode.ArgumentCount);
179
private Result RewriteIndexAssignment(BinaryExpression node,
Stack
stack) {
207
private Result RewriteLogicalBinaryExpression(Expression expr,
Stack
stack) {
236
private Result RewriteReducibleExpression(Expression expr,
Stack
stack) {
243
private Result RewriteBinaryExpression(Expression expr,
Stack
stack) {
270
private Result RewriteVariableAssignment(BinaryExpression node,
Stack
stack) {
279
private Result RewriteAssignBinaryExpression(Expression expr,
Stack
stack) {
296
private Result RewriteExtensionAssignment(BinaryExpression node,
Stack
stack) {
305
private static Result RewriteLambdaExpression(Expression expr,
Stack
stack) {
319
private Result RewriteConditionalExpression(Expression expr,
Stack
stack) {
337
private Result RewriteMemberAssignment(BinaryExpression node,
Stack
stack) {
365
private Result RewriteMemberExpression(Expression expr,
Stack
stack) {
383
private Result RewriteIndexExpression(Expression expr,
Stack
stack) {
409
private Result RewriteMethodCallExpression(Expression expr,
Stack
stack) {
429
private Result RewriteNewArrayExpression(Expression expr,
Stack
stack) {
436
stack =
Stack
.NonEmpty;
458
private Result RewriteInvocationExpression(Expression expr,
Stack
stack) {
502
private Result RewriteNewExpression(Expression expr,
Stack
stack) {
518
private Result RewriteTypeBinaryExpression(Expression expr,
Stack
stack) {
533
private Result RewriteThrowUnaryExpression(Expression expr,
Stack
stack) {
541
Result value = RewriteExpressionFreeTemps(node.Operand,
Stack
.Empty);
544
if (stack !=
Stack
.Empty) {
556
private Result RewriteUnaryExpression(Expression expr,
Stack
stack) {
576
private Result RewriteListInitExpression(Expression expr,
Stack
stack) {
592
ChildRewriter cr = new ChildRewriter(this,
Stack
.NonEmpty, init.Arguments.Count);
637
private Result RewriteMemberInitExpression(Expression expr,
Stack
stack) {
650
BindingRewriter rewriter = BindingRewriter.Create(binding, this,
Stack
.NonEmpty);
690
private Result RewriteBlockExpression(Expression expr,
Stack
stack) {
720
private Result RewriteLabelExpression(Expression expr,
Stack
stack) {
731
private Result RewriteLoopExpression(Expression expr,
Stack
stack) {
736
Result body = RewriteExpression(node.Body,
Stack
.Empty);
742
if (stack !=
Stack
.Empty) {
757
private Result RewriteGotoExpression(Expression expr,
Stack
stack) {
762
Result value = RewriteExpressionFreeTemps(node.Value,
Stack
.Empty);
767
if (stack !=
Stack
.Empty) {
778
private Result RewriteSwitchExpression(Expression expr,
Stack
stack) {
844
private Result RewriteTryExpression(Expression expr,
Stack
stack) {
849
Result body = RewriteExpression(node.Body,
Stack
.Empty);
863
Result rfault = RewriteExpression(handler.Filter,
Stack
.Empty);
870
Result rbody = RewriteExpression(handler.Body,
Stack
.Empty);
888
Result fault = RewriteExpression(node.Fault,
Stack
.Empty);
891
Result @finally = RewriteExpression(node.Finally,
Stack
.Empty);
895
if (stack !=
Stack
.Empty) {
910
private Result RewriteExtensionExpression(Expression expr,
Stack
stack) {
Microsoft\Scripting\Compiler\StackSpiller.Generated.cs (2)
36
private Result RewriteExpression(Expression node,
Stack
stack) {
46
return _guard.RunOnEmptyStack((StackSpiller @this, Expression n,
Stack
s) => @this.RewriteExpression(n, s), this, node, stack);
Microsoft\Scripting\Compiler\StackSpiller.Temps.cs (3)
136
private
Stack
_stack;
139
internal ChildRewriter(StackSpiller self,
Stack
stack, int count) {
155
_stack =
Stack
.NonEmpty;