diff src/share/vm/utilities/quickSort.cpp @ 10283:e484fe2abebd

Merge
author twisti
date Thu, 16 May 2013 13:47:55 -0700
parents f9be75d21404 e76dd894b984
children 836a62f43af9 78bbf4d43a14
line wrap: on
line diff
--- a/src/share/vm/utilities/quickSort.cpp	Tue May 14 17:33:07 2013 +0000
+++ b/src/share/vm/utilities/quickSort.cpp	Thu May 16 13:47:55 2013 -0700
@@ -34,6 +34,7 @@
 #include "memory/allocation.inline.hpp"
 #include <stdlib.h>
 
+#ifdef ASSERT
 static int test_comparator(int a, int b) {
   if (a == b) {
     return 0;
@@ -43,6 +44,7 @@
   }
   return 1;
 }
+#endif // ASSERT
 
 static int test_even_odd_comparator(int a, int b) {
   bool a_is_odd = (a % 2) == 1;