Mercurial > hg > graal-jvmci-8
diff src/share/vm/utilities/quickSort.cpp @ 9160:f2aebc22372a
Fix hotspot optimized build
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 16 Apr 2013 17:17:22 +0200 |
parents | 3c648b9ad052 |
children | 836a62f43af9 |
line wrap: on
line diff
--- a/src/share/vm/utilities/quickSort.cpp Tue Apr 16 17:39:46 2013 +0200 +++ b/src/share/vm/utilities/quickSort.cpp Tue Apr 16 17:17:22 2013 +0200 @@ -32,6 +32,7 @@ #include "utilities/quickSort.hpp" #include <stdlib.h> +#ifdef ASSERT static int test_comparator(int a, int b) { if (a == b) { return 0; @@ -41,6 +42,7 @@ } return 1; } +#endif // ASSERT static int test_even_odd_comparator(int a, int b) { bool a_is_odd = (a % 2) == 1;