diff src/share/vm/opto/loopopts.cpp @ 223:1dd146f17531

6716441: error in meet with +DoEscapeAnalysis Summary: Set instance_id to InstanceBot for InstPtr->meet(AryPtr) when types are not related. Reviewed-by: jrose, never
author kvn
date Thu, 26 Jun 2008 13:34:00 -0700
parents 8d191a7697e2
children 9c2ecc2ffb12
line wrap: on
line diff
--- a/src/share/vm/opto/loopopts.cpp	Tue Jun 24 16:00:14 2008 -0700
+++ b/src/share/vm/opto/loopopts.cpp	Thu Jun 26 13:34:00 2008 -0700
@@ -41,7 +41,7 @@
   const Type* type = n->bottom_type();
   const TypeOopPtr *t_oop = _igvn.type(n)->isa_oopptr();
   Node *phi;
-  if( t_oop != NULL && t_oop->is_instance_field() ) {
+  if( t_oop != NULL && t_oop->is_known_instance_field() ) {
     int iid    = t_oop->instance_id();
     int index  = C->get_alias_index(t_oop);
     int offset = t_oop->offset();