8135252: IdealLoopTree::dump_head() prints negative trip count
IdealLoopTree::dump_head() should not cast float to int. Reviewed-by: kvn
This commit is contained in:
parent
d67924dc8e
commit
6479241f4a
@ -1901,7 +1901,7 @@ void IdealLoopTree::dump_head( ) const {
|
||||
if (stride_con > 0) tty->print("+");
|
||||
tty->print("%d", stride_con);
|
||||
|
||||
tty->print(" (%d iters) ", (int)cl->profile_trip_cnt());
|
||||
tty->print(" (%0.f iters) ", cl->profile_trip_cnt());
|
||||
|
||||
if (cl->is_pre_loop ()) tty->print(" pre" );
|
||||
if (cl->is_main_loop()) tty->print(" main");
|
||||
|
Loading…
Reference in New Issue
Block a user