comparison 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
comparison
equal deleted inserted replaced
9155:bb4a966cc68f 9156:acadb114c818
1776 case lir_cas_obj: s = "cas_obj"; break; 1776 case lir_cas_obj: s = "cas_obj"; break;
1777 case lir_cas_int: s = "cas_int"; break; 1777 case lir_cas_int: s = "cas_int"; break;
1778 // LIR_OpProfileCall 1778 // LIR_OpProfileCall
1779 case lir_profile_call: s = "profile_call"; break; 1779 case lir_profile_call: s = "profile_call"; break;
1780 // LIR_OpAssert 1780 // LIR_OpAssert
1781 #ifdef ASSERT
1781 case lir_assert: s = "assert"; break; 1782 case lir_assert: s = "assert"; break;
1783 #endif
1782 case lir_none: ShouldNotReachHere();break; 1784 case lir_none: ShouldNotReachHere();break;
1783 default: s = "illegal_op"; break; 1785 default: s = "illegal_op"; break;
1784 } 1786 }
1785 return s; 1787 return s;
1786 } 1788 }
2023 _scratch->print(out); out->print(" "); 2025 _scratch->print(out); out->print(" ");
2024 } 2026 }
2025 out->print("[lbl:0x%x]", stub()->entry()); 2027 out->print("[lbl:0x%x]", stub()->entry());
2026 } 2028 }
2027 2029
2030 #ifdef ASSERT
2028 void LIR_OpAssert::print_instr(outputStream* out) const { 2031 void LIR_OpAssert::print_instr(outputStream* out) const {
2029 print_condition(out, condition()); out->print(" "); 2032 print_condition(out, condition()); out->print(" ");
2030 in_opr1()->print(out); out->print(" "); 2033 in_opr1()->print(out); out->print(" ");
2031 in_opr2()->print(out); out->print(", \""); 2034 in_opr2()->print(out); out->print(", \"");
2032 out->print(msg()); out->print("\""); 2035 out->print(msg()); out->print("\"");
2033 } 2036 }
2037 #endif
2034 2038
2035 2039
2036 void LIR_OpDelay::print_instr(outputStream* out) const { 2040 void LIR_OpDelay::print_instr(outputStream* out) const {
2037 _op->print_on(out); 2041 _op->print_on(out);
2038 } 2042 }