hotspot/src/share/vm/opto/parse2.cpp
changeset 24424 2658d7834c6e
parent 23528 8f1a7f5e8066
child 24429 4efc66ee325c
equal deleted inserted replaced
24358:8528b67f6562 24424:2658d7834c6e
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   626     }
   626     }
   627     tty->print(">>> ");
   627     tty->print(">>> ");
   628     _method->print_short_name();
   628     _method->print_short_name();
   629     tty->print_cr(" switch decision tree");
   629     tty->print_cr(" switch decision tree");
   630     tty->print_cr("    %d ranges (%d singletons), max_depth=%d, est_depth=%d",
   630     tty->print_cr("    %d ranges (%d singletons), max_depth=%d, est_depth=%d",
   631                   hi-lo+1, nsing, _max_switch_depth, _est_switch_depth);
   631                   (int) (hi-lo+1), nsing, _max_switch_depth, _est_switch_depth);
   632     if (_max_switch_depth > _est_switch_depth) {
   632     if (_max_switch_depth > _est_switch_depth) {
   633       tty->print_cr("******** BAD SWITCH DEPTH ********");
   633       tty->print_cr("******** BAD SWITCH DEPTH ********");
   634     }
   634     }
   635     tty->print("   ");
   635     tty->print("   ");
   636     for( r = lo; r <= hi; r++ ) {
   636     for( r = lo; r <= hi; r++ ) {
   637       r->print();
   637       r->print();
   638     }
   638     }
   639     tty->print_cr("");
   639     tty->cr();
   640   }
   640   }
   641 #endif
   641 #endif
   642 }
   642 }
   643 
   643 
   644 void Parse::modf() {
   644 void Parse::modf() {