< prev index next >

src/hotspot/share/opto/ifnode.cpp

Print this page

        

@@ -499,10 +499,14 @@
 
   // We have recognized one of these forms:
   //  Flip 1:  If (Bool[<] CmpU(l, LoadRange)) ...
   //  Flip 2:  If (Bool[<=] CmpU(LoadRange, l)) ...
 
+  if (outcnt() != 2) {
+    return NULL;
+  }
+
   ProjNode* iftrap = proj_out(flip_test == 2 ? true : false);
   return iftrap;
 }
 
 
< prev index next >