< prev index next >

src/hotspot/share/opto/loopopts.cpp

Print this page
rev 48506 : [mq]: JDK-8194992

@@ -1729,11 +1729,11 @@
     Node* tail = cl->outer_loop_tail();
     IfNode* le = cl->outer_loop_end();
     Node* sfpt = cl->outer_safepoint();
     CountedLoopEndNode* cle = cl->loopexit();
     CountedLoopNode* new_cl = old_new[cl->_idx]->as_CountedLoop();
-    CountedLoopEndNode* new_cle = new_cl->as_CountedLoop()->loopexit();
+    CountedLoopEndNode* new_cle = new_cl->as_CountedLoop()->loopexit_or_null();
     Node* cle_out = cle->proj_out(false);
 
     Node* new_sfpt = NULL;
     Node* new_cle_out = cle_out->clone();
     old_new.map(cle_out->_idx, new_cle_out);
< prev index next >