hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
changeset 17011 def8879c5b81
parent 16672 152c041083e1
child 17018 6ba29eb83bba
--- a/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp	Mon Apr 15 09:42:46 2013 +0200
+++ b/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp	Mon Apr 15 17:17:11 2013 +0200
@@ -3103,8 +3103,8 @@
   }
 }
 
+#ifdef ASSERT
 void LIRGenerator::do_Assert(Assert *x) {
-#ifdef ASSERT
   ValueTag tag = x->x()->type()->tag();
   If::Condition cond = x->cond();
 
@@ -3124,9 +3124,8 @@
   LIR_Opr right = yin->result();
 
   __ lir_assert(lir_cond(x->cond()), left, right, x->message(), true);
+}
 #endif
-}
-
 
 void LIRGenerator::do_RangeCheckPredicate(RangeCheckPredicate *x) {