hotspot/src/share/vm/opto/gcm.cpp
changeset 2875 549b4d80b29e
parent 2348 4e71ed4c2709
child 3186 11ba3d09bd0e
--- a/hotspot/src/share/vm/opto/gcm.cpp	Thu May 21 10:05:36 2009 -0700
+++ b/hotspot/src/share/vm/opto/gcm.cpp	Wed May 27 12:35:51 2009 -0700
@@ -617,6 +617,9 @@
             assert(!LCA_orig->dominates(pred_block) ||
                    early->dominates(pred_block), "early is high enough");
             must_raise_LCA = true;
+          } else {
+            // anti-dependent upon PHI pinned below 'early', no edge needed
+            LCA = early;             // but can not schedule below 'early'
           }
         }
       }