src/share/vm/opto/chaitin.cpp

changeset 6680
78bbf4d43a14
parent 6503
a9becfeecd1b
child 6876
710a3c8b516e
child 7564
9df0d8f65fea
     1.1 --- a/src/share/vm/opto/chaitin.cpp	Thu May 15 18:23:26 2014 -0400
     1.2 +++ b/src/share/vm/opto/chaitin.cpp	Thu May 22 15:52:41 2014 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -2019,25 +2019,25 @@
    1.11        tty->print_cr("new LRG");
    1.12      }
    1.13    }
    1.14 -  tty->print_cr("");
    1.15 +  tty->cr();
    1.16  
    1.17    // Dump lo-degree list
    1.18    tty->print("Lo degree: ");
    1.19    for(uint i3 = _lo_degree; i3; i3 = lrgs(i3)._next )
    1.20      tty->print("L%d ",i3);
    1.21 -  tty->print_cr("");
    1.22 +  tty->cr();
    1.23  
    1.24    // Dump lo-stk-degree list
    1.25    tty->print("Lo stk degree: ");
    1.26    for(uint i4 = _lo_stk_degree; i4; i4 = lrgs(i4)._next )
    1.27      tty->print("L%d ",i4);
    1.28 -  tty->print_cr("");
    1.29 +  tty->cr();
    1.30  
    1.31    // Dump lo-degree list
    1.32    tty->print("Hi degree: ");
    1.33    for(uint i5 = _hi_degree; i5; i5 = lrgs(i5)._next )
    1.34      tty->print("L%d ",i5);
    1.35 -  tty->print_cr("");
    1.36 +  tty->cr();
    1.37  }
    1.38  
    1.39  void PhaseChaitin::dump_degree_lists() const {
    1.40 @@ -2045,26 +2045,26 @@
    1.41    tty->print("Lo degree: ");
    1.42    for( uint i = _lo_degree; i; i = lrgs(i)._next )
    1.43      tty->print("L%d ",i);
    1.44 -  tty->print_cr("");
    1.45 +  tty->cr();
    1.46  
    1.47    // Dump lo-stk-degree list
    1.48    tty->print("Lo stk degree: ");
    1.49    for(uint i2 = _lo_stk_degree; i2; i2 = lrgs(i2)._next )
    1.50      tty->print("L%d ",i2);
    1.51 -  tty->print_cr("");
    1.52 +  tty->cr();
    1.53  
    1.54    // Dump lo-degree list
    1.55    tty->print("Hi degree: ");
    1.56    for(uint i3 = _hi_degree; i3; i3 = lrgs(i3)._next )
    1.57      tty->print("L%d ",i3);
    1.58 -  tty->print_cr("");
    1.59 +  tty->cr();
    1.60  }
    1.61  
    1.62  void PhaseChaitin::dump_simplified() const {
    1.63    tty->print("Simplified: ");
    1.64    for( uint i = _simplified; i; i = lrgs(i)._next )
    1.65      tty->print("L%d ",i);
    1.66 -  tty->print_cr("");
    1.67 +  tty->cr();
    1.68  }
    1.69  
    1.70  static char *print_reg( OptoReg::Name reg, const PhaseChaitin *pc, char *buf ) {
    1.71 @@ -2143,7 +2143,7 @@
    1.72        }
    1.73        tty->print("   : parm %d: ", k);
    1.74        domain->field_at(k + TypeFunc::Parms)->dump();
    1.75 -      tty->print_cr("");
    1.76 +      tty->cr();
    1.77      }
    1.78    }
    1.79  
    1.80 @@ -2165,7 +2165,7 @@
    1.81            _matcher._parm_regs[j].second() == reg ) {
    1.82          tty->print("parm %d: ",j);
    1.83          domain->field_at(j + TypeFunc::Parms)->dump();
    1.84 -        tty->print_cr("");
    1.85 +        tty->cr();
    1.86          break;
    1.87        }
    1.88      }

mercurial