diff src/share/vm/c1/c1_RangeCheckElimination.hpp @ 9156:acadb114c818

8011648: C1: optimized build is broken after 7153771 Summary: missing #ifdef ASSERT Reviewed-by: kvn
author roland
date Mon, 15 Apr 2013 17:17:11 +0200
parents 46f6f063b272
children d13d7aba8c12
line wrap: on
line diff
--- a/src/share/vm/c1/c1_RangeCheckElimination.hpp	Mon Apr 15 09:42:46 2013 +0200
+++ b/src/share/vm/c1/c1_RangeCheckElimination.hpp	Mon Apr 15 17:17:11 2013 +0200
@@ -166,7 +166,9 @@
     void do_RuntimeCall    (RuntimeCall*     x) { /* nothing to do */ };
     void do_MemBar         (MemBar*          x) { /* nothing to do */ };
     void do_RangeCheckPredicate(RangeCheckPredicate* x) { /* nothing to do */ };
+#ifdef ASSERT
     void do_Assert         (Assert*          x) { /* nothing to do */ };
+#endif
   };
 
 #ifdef ASSERT