< prev index next >

src/hotspot/share/opto/macro.cpp

Print this page

        

@@ -765,10 +765,17 @@
             NOT_PRODUCT(fail_eliminate = "Object is referenced by node";)
           }
           DEBUG_ONLY(disq_node = use;)
         }
         can_eliminate = false;
+      } else {
+        assert(use->Opcode() == Op_CastP2X, "should be");
+        if (use->has_out_with(Op_OrL)) {
+          // Fixme
+          // This is not a card mark!
+          can_eliminate = false;
+        }
       }
     }
   }
 
 #ifndef PRODUCT
< prev index next >