src/share/vm/c1/c1_LIR.cpp

changeset 4947
acadb114c818
parent 4860
46f6f063b272
child 5290
87a6f2df28e2
     1.1 --- a/src/share/vm/c1/c1_LIR.cpp	Mon Apr 15 09:42:46 2013 +0200
     1.2 +++ b/src/share/vm/c1/c1_LIR.cpp	Mon Apr 15 17:17:11 2013 +0200
     1.3 @@ -1778,7 +1778,9 @@
     1.4       // LIR_OpProfileCall
     1.5       case lir_profile_call:          s = "profile_call";  break;
     1.6       // LIR_OpAssert
     1.7 +#ifdef ASSERT
     1.8       case lir_assert:                s = "assert";        break;
     1.9 +#endif
    1.10       case lir_none:                  ShouldNotReachHere();break;
    1.11      default:                         s = "illegal_op";    break;
    1.12    }
    1.13 @@ -2025,12 +2027,14 @@
    1.14    out->print("[lbl:0x%x]", stub()->entry());
    1.15  }
    1.16  
    1.17 +#ifdef ASSERT
    1.18  void LIR_OpAssert::print_instr(outputStream* out) const {
    1.19    print_condition(out, condition()); out->print(" ");
    1.20    in_opr1()->print(out);             out->print(" ");
    1.21    in_opr2()->print(out);             out->print(", \"");
    1.22    out->print(msg());                 out->print("\"");
    1.23  }
    1.24 +#endif
    1.25  
    1.26  
    1.27  void LIR_OpDelay::print_instr(outputStream* out) const {

mercurial