hotspot/src/share/vm/opto/gcm.cpp
changeset 10255 bab46e6f7661
parent 8921 14bfe81f2a9d
child 11191 d54ab5dcba83
--- a/hotspot/src/share/vm/opto/gcm.cpp	Wed Jul 27 15:06:35 2011 -0700
+++ b/hotspot/src/share/vm/opto/gcm.cpp	Wed Jul 27 17:28:36 2011 -0700
@@ -1137,7 +1137,7 @@
 
     // No uses, just terminate
     if (self->outcnt() == 0) {
-      assert(self->Opcode() == Op_MachProj, "sanity");
+      assert(self->is_MachProj(), "sanity");
       continue;                   // Must be a dead machine projection
     }