Skip to content

Commit 19e46ee

Browse files
Sonia Zaldana Callesdean-long
authored andcommitted
8331088: Incorrect TraceLoopPredicate output
Reviewed-by: chagedorn, dlong
1 parent 0a24dae commit 19e46ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/opto/loopPredicate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ bool PhaseIdealLoop::loop_predication_impl_helper(IdealLoopTree* loop, IfProjNod
12471247
IfNode* upper_bound_iff = upper_bound_proj->in(0)->as_If();
12481248
_igvn.hash_delete(upper_bound_iff);
12491249
upper_bound_iff->set_req(1, upper_bound_bol);
1250-
if (TraceLoopPredicate) tty->print_cr("upper bound check if: %d", lower_bound_iff->_idx);
1250+
if (TraceLoopPredicate) tty->print_cr("upper bound check if: %d", upper_bound_iff->_idx);
12511251

12521252
// Fall through into rest of the cleanup code which will move any dependent nodes to the skeleton predicates of the
12531253
// upper bound test. We always need to create skeleton predicates in order to properly remove dead loops when later

0 commit comments

Comments
 (0)