If out some dead code in System.Array for FEATURE_CORECLR (#7288)
authorHugh Bellamy <hughbellars@gmail.com>
Wed, 21 Sep 2016 13:48:08 +0000 (14:48 +0100)
committerJan Kotas <jkotas@microsoft.com>
Wed, 21 Sep 2016 13:48:08 +0000 (06:48 -0700)
src/mscorlib/src/System/Array.cs

index d81f99c..b5cbcf0 100644 (file)
@@ -1987,6 +1987,7 @@ namespace System {
 #endif
             }
 
+#if !FEATURE_CORECLR
             private void DepthLimitedQuickSort(int left, int right, int depthLimit)
             {
                 // Can use the much faster jit helpers for array access.
@@ -2084,6 +2085,7 @@ namespace System {
                     }
                 } while (left < right);
             }
+#endif
 
             private void IntrospectiveSort(int left, int length)
             {
@@ -2306,6 +2308,7 @@ namespace System {
 #endif
             }
 
+#if !FEATURE_CORECLR
             private void DepthLimitedQuickSort(int left, int right, int depthLimit)
             {
                 // Must use slow Array accessors (GetValue & SetValue)
@@ -2401,6 +2404,7 @@ namespace System {
                     }
                 } while (left < right);
             }
+#endif
 
             private void IntrospectiveSort(int left, int length)
             {