hotspot/src/share/vm/opto/type.hpp
changeset 34202 5d19ca9c25a8
parent 31857 adbf29d9ca43
child 38030 93f24e7b3c43
equal deleted inserted replaced
34201:2de6f3566659 34202:5d19ca9c25a8
   365   // Create basic type
   365   // Create basic type
   366   static const Type* get_const_basic_type(BasicType type) {
   366   static const Type* get_const_basic_type(BasicType type) {
   367     assert((uint)type <= T_CONFLICT && _const_basic_type[type] != NULL, "bad type");
   367     assert((uint)type <= T_CONFLICT && _const_basic_type[type] != NULL, "bad type");
   368     return _const_basic_type[type];
   368     return _const_basic_type[type];
   369   }
   369   }
       
   370 
       
   371   // For two instance arrays of same dimension, return the base element types.
       
   372   // Otherwise or if the arrays have different dimensions, return NULL.
       
   373   static void get_arrays_base_elements(const Type *a1, const Type *a2,
       
   374                                        const TypeInstPtr **e1, const TypeInstPtr **e2);
   370 
   375 
   371   // Mapping to the array element's basic type.
   376   // Mapping to the array element's basic type.
   372   BasicType array_element_basic_type() const;
   377   BasicType array_element_basic_type() const;
   373 
   378 
   374   // Create standard type for a ciType:
   379   // Create standard type for a ciType: