Revert parts of 6769a30f4, it disabled the hand-specialized sort methods in the non...
authorZoltan Varga <vargaz@gmail.com>
Tue, 4 Mar 2014 23:41:18 +0000 (18:41 -0500)
committerZoltan Varga <vargaz@gmail.com>
Tue, 4 Mar 2014 23:41:42 +0000 (18:41 -0500)
mcs/class/corlib/System/Array.cs

index bc22c019faa2219f4c357766d8f2ebecc9a10f28..e90d12ee44a436161a28f41edf07acc2b27c8f79 100644 (file)
@@ -1746,7 +1746,7 @@ namespace System
                        //
                        if (comparer == null) {
                                /* Avoid this when using full-aot to prevent the generation of many unused qsort<K,T> instantiations */
-#if FULL_AOT_RUNTIME
+#if !FULL_AOT_RUNTIME
 #if !BOOTSTRAP_BASIC
                                switch (Type.GetTypeCode (typeof (TKey))) {
                                case TypeCode.Int32: