< prev index next >

src/hotspot/share/opto/loopPredicate.cpp

Print this page

        

*** 1386,1398 **** // Some projections were skipped by regular predicates because of // an early loop exit. Try them with profile data. while (if_proj_list.size() > 0) { Node* proj = if_proj_list.pop(); - float f = pf.to(proj); if (proj->as_Proj()->is_uncommon_trap_if_pattern(Deoptimization::Reason_none) && ! f * loop_trip_cnt >= 1) { hoisted = loop_predication_impl_helper(loop, proj->as_Proj(), profile_predicate_proj, cl, zero, invar, Deoptimization::Reason_profile_predicate) | hoisted; } } // And look into all branches --- 1386,1397 ---- // Some projections were skipped by regular predicates because of // an early loop exit. Try them with profile data. while (if_proj_list.size() > 0) { Node* proj = if_proj_list.pop(); if (proj->as_Proj()->is_uncommon_trap_if_pattern(Deoptimization::Reason_none) && ! pf.to(proj) * loop_trip_cnt >= 1) { hoisted = loop_predication_impl_helper(loop, proj->as_Proj(), profile_predicate_proj, cl, zero, invar, Deoptimization::Reason_profile_predicate) | hoisted; } } // And look into all branches
< prev index next >