hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
changeset 17018 6ba29eb83bba
parent 17002 d86c9dfa4a5f
parent 17011 def8879c5b81
child 17879 49ac5c39b28f
--- a/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp	Thu Apr 18 17:00:16 2013 -0400
+++ b/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp	Fri Apr 19 03:13:04 2013 -0400
@@ -3104,8 +3104,8 @@
   }
 }
 
+#ifdef ASSERT
 void LIRGenerator::do_Assert(Assert *x) {
-#ifdef ASSERT
   ValueTag tag = x->x()->type()->tag();
   If::Condition cond = x->cond();
 
@@ -3125,9 +3125,8 @@
   LIR_Opr right = yin->result();
 
   __ lir_assert(lir_cond(x->cond()), left, right, x->message(), true);
+}
 #endif
-}
-
 
 void LIRGenerator::do_RangeCheckPredicate(RangeCheckPredicate *x) {