< prev index next >

src/hotspot/share/opto/loopopts.cpp

Print this page

        

@@ -322,11 +322,11 @@
         set_ctrl_and_loop(m, c);
         continue;
       }
       return NULL;
     }
-    assert(m->is_Phi() || is_dominator(get_ctrl(m), n_ctrl), "m has strange control");
+    assert(n->is_Phi() || m->is_Phi() || is_dominator(get_ctrl(m), n_ctrl), "m has strange control");
   }
 
   return n_ctrl;
 }
 
< prev index next >