Mercurial > hg > truffle
diff src/share/vm/c1/c1_LIR.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 | 87a6f2df28e2 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIR.cpp Mon Apr 15 09:42:46 2013 +0200 +++ b/src/share/vm/c1/c1_LIR.cpp Mon Apr 15 17:17:11 2013 +0200 @@ -1778,7 +1778,9 @@ // LIR_OpProfileCall case lir_profile_call: s = "profile_call"; break; // LIR_OpAssert +#ifdef ASSERT case lir_assert: s = "assert"; break; +#endif case lir_none: ShouldNotReachHere();break; default: s = "illegal_op"; break; } @@ -2025,12 +2027,14 @@ out->print("[lbl:0x%x]", stub()->entry()); } +#ifdef ASSERT void LIR_OpAssert::print_instr(outputStream* out) const { print_condition(out, condition()); out->print(" "); in_opr1()->print(out); out->print(" "); in_opr2()->print(out); out->print(", \""); out->print(msg()); out->print("\""); } +#endif void LIR_OpDelay::print_instr(outputStream* out) const {