< prev index next >

src/hotspot/share/opto/parse1.cpp

Print this page

        

@@ -1879,11 +1879,10 @@
       //  - there is no phi (because TypeFlow detected a conflict), or
       //  - the corresponding control edges is top (a dead incoming path)
       // It is a bug if we create a phi which sees a garbage value on a live path.
 
       // Merging two value types?
-      assert(n->is_top() || m->is_ValueType() == n->is_ValueType(), "value types should only be merged with other value types");
       if (phi != NULL && n->isa_ValueType()) {
         // Reload current state because it may have been updated by ensure_phi
         m = map()->in(j);
         ValueTypeNode* vtm = m->as_ValueType(); // Current value type
         ValueTypeNode* vtn = n->as_ValueType(); // Incoming value type
< prev index next >