aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/c1/c1_LIRGenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/c1/c1_LIRGenerator.cpp')
-rw-r--r--src/share/vm/c1/c1_LIRGenerator.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/share/vm/c1/c1_LIRGenerator.cpp b/src/share/vm/c1/c1_LIRGenerator.cpp
index ffb2965fd..1928df578 100644
--- a/src/share/vm/c1/c1_LIRGenerator.cpp
+++ b/src/share/vm/c1/c1_LIRGenerator.cpp
@@ -3103,8 +3103,8 @@ void LIRGenerator::do_RuntimeCall(RuntimeCall* x) {
}
}
-void LIRGenerator::do_Assert(Assert *x) {
#ifdef ASSERT
+void LIRGenerator::do_Assert(Assert *x) {
ValueTag tag = x->x()->type()->tag();
If::Condition cond = x->cond();
@@ -3124,9 +3124,8 @@ void LIRGenerator::do_Assert(Assert *x) {
LIR_Opr right = yin->result();
__ lir_assert(lir_cond(x->cond()), left, right, x->message(), true);
-#endif
}
-
+#endif
void LIRGenerator::do_RangeCheckPredicate(RangeCheckPredicate *x) {