diff src/share/vm/opto/loopTransform.cpp @ 367:194b8e3a2fc4

6384206: Phis which are later unneeded are impairing our ability to inline based on static types Reviewed-by: rasbold, jrose
author never
date Wed, 17 Sep 2008 12:59:52 -0700
parents 9c2ecc2ffb12
children cc80376deb0c
line wrap: on
line diff
--- a/src/share/vm/opto/loopTransform.cpp	Wed Sep 17 08:29:17 2008 -0700
+++ b/src/share/vm/opto/loopTransform.cpp	Wed Sep 17 12:59:52 2008 -0700
@@ -1012,6 +1012,8 @@
     if (!has_ctrl(old))
       set_loop(nnn, loop);
   }
+
+  loop->record_for_igvn();
 }
 
 //------------------------------do_maximally_unroll----------------------------