File tree 2 files changed +12
-12
lines changed
2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -1014,17 +1014,17 @@ bool ObjectAllocator::CanLclVarEscapeViaParentStack(ArrayStack<GenTree*>* parent
1014
1014
canLclVarEscapeViaParentStack =
1015
1015
!Compiler::s_helperCallProperties.IsNoEscape (comp->eeGetHelperNum (call->gtCallMethHnd ));
1016
1016
}
1017
- else if (call->gtCallType == CT_USER_FUNC)
1018
- {
1019
- // Delegate invoke won't escape the delegate which is passed as "this"
1020
- // And gets expanded inline later.
1021
- //
1022
- if ((call->gtCallMoreFlags & GTF_CALL_M_DELEGATE_INV) != 0 )
1023
- {
1024
- GenTree* const thisArg = call->gtArgs .GetThisArg ()->GetNode ();
1025
- canLclVarEscapeViaParentStack = thisArg != tree;
1026
- }
1027
- }
1017
+ // else if (call->gtCallType == CT_USER_FUNC)
1018
+ // {
1019
+ // // Delegate invoke won't escape the delegate which is passed as "this"
1020
+ // // And gets expanded inline later.
1021
+ // //
1022
+ // if ((call->gtCallMoreFlags & GTF_CALL_M_DELEGATE_INV) != 0)
1023
+ // {
1024
+ // GenTree* const thisArg = call->gtArgs.GetThisArg()->GetNode();
1025
+ // canLclVarEscapeViaParentStack = thisArg != tree;
1026
+ // }
1027
+ // }
1028
1028
break ;
1029
1029
}
1030
1030
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ inline bool ObjectAllocator::CanAllocateLclVarOnStack(unsigned int lclNu
148
148
149
149
bool enableBoxedValueClasses = true ;
150
150
bool enableRefClasses = true ;
151
- bool enableArrays = true ;
151
+ bool enableArrays = false ;
152
152
*reason = " [ok]" ;
153
153
154
154
#ifdef DEBUG
You can’t perform that action at this time.
0 commit comments