--- 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) {