hotspot/src/share/vm/c1/c1_Instruction.cpp
changeset 13391 30245956af37
parent 10509 43d670e5701e
child 13487 75aa4880b15f
equal deleted inserted replaced
13309:50c604cb0d5f 13391:30245956af37
   159     }
   159     }
   160   }
   160   }
   161   return NULL;
   161   return NULL;
   162 }
   162 }
   163 
   163 
       
   164 ciType* Constant::exact_type() const {
       
   165   if (type()->is_object()) {
       
   166     return type()->as_ObjectType()->exact_type();
       
   167   }
       
   168   return NULL;
       
   169 }
   164 
   170 
   165 ciType* LoadIndexed::exact_type() const {
   171 ciType* LoadIndexed::exact_type() const {
   166   ciType* array_type = array()->exact_type();
   172   ciType* array_type = array()->exact_type();
   167   if (array_type == NULL) {
   173   if (array_type == NULL) {
   168     return NULL;
   174     return NULL;