diff src/share/vm/c1/c1_InstructionPrinter.cpp @ 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_InstructionPrinter.cpp	Mon Apr 15 09:42:46 2013 +0200
+++ b/src/share/vm/c1/c1_InstructionPrinter.cpp	Mon Apr 15 17:17:11 2013 +0200
@@ -871,12 +871,14 @@
   }
 }
 
+#ifdef ASSERT
 void InstructionPrinter::do_Assert(Assert* x) {
   output()->print("assert ");
   print_value(x->x());
   output()->print(" %s ", cond_name(x->cond()));
   print_value(x->y());
 }
+#endif
 
 void InstructionPrinter::do_UnsafePrefetchWrite(UnsafePrefetchWrite* x) {
   print_unsafe_object_op(x, "UnsafePrefetchWrite");