You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// There is no Return of the pooled parameter types here,
500
+
// because in the rarest case with the unused lambda arguments we may just exhaust the pooled instance
496
501
var closureAndParamTypes = RentPooledOrNewClosureTypeToParamTypes(paramExprs);
497
-
if (bodyExpr is NoArgsNewClassIntrinsicExpression newNoArgs)
498
-
{
499
-
// there is no Return of the pooled parameter types here, because in the rarest case with the unused lambda arguments we may just exhaust the pooled instance
closure = constantsAndNestedLambdas == null ? EmptyArrayClosure : new ArrayClosure(constantsAndNestedLambdas);
529
531
else
530
532
{
531
-
var debugExpr = Lambda(delegateType, bodyExpr, paramExprs?.ToReadOnlyList() ?? Tools.Empty<PE>());
532
-
closure = new DebugArrayClosure(constantsAndNestedLambdas, debugExpr);
533
+
var debugLambdaExpr = Lambda(delegateType, bodyExpr, paramExprs?.ToReadOnlyList() ?? Tools.Empty<PE>());
534
+
closure = new DebugArrayClosure(constantsAndNestedLambdas, debugLambdaExpr);
533
535
}
534
536
535
537
// note: @slow this is what System.Compiles does and which makes the compilation 10x slower, but the invocation become faster by a single branch instruction
0 commit comments