src/hotspot/share/opto/graphKit.cpp
changeset 50623 5209d8a6303e
parent 50180 ffa644980dff
child 51485 0c7040d1d1ca
--- a/src/hotspot/share/opto/graphKit.cpp	Tue Jun 19 08:44:31 2018 +0200
+++ b/src/hotspot/share/opto/graphKit.cpp	Tue Jun 19 09:08:39 2018 +0200
@@ -3804,6 +3804,9 @@
   if (UseLoopPredicate) {
     add_predicate_impl(Deoptimization::Reason_predicate, nargs);
   }
+  if (UseProfiledLoopPredicate) {
+    add_predicate_impl(Deoptimization::Reason_profile_predicate, nargs);
+  }
   // loop's limit check predicate should be near the loop.
   add_predicate_impl(Deoptimization::Reason_loop_limit_check, nargs);
 }