hotspot/src/share/vm/opto/addnode.cpp
changeset 6433 b0e4fafdc38b
parent 5547 f4b087cbb361
child 7397 5b173b4ca846
--- a/hotspot/src/share/vm/opto/addnode.cpp	Fri Aug 20 09:55:50 2010 -0700
+++ b/hotspot/src/share/vm/opto/addnode.cpp	Fri Aug 27 17:33:49 2010 -0700
@@ -705,6 +705,9 @@
     }
     addr = addr->in(AddPNode::Address);
   }
+  if (addr != base) {
+    return -1;
+  }
   return count;
 }