src/share/vm/opto/type.hpp

changeset 8422
09687c445ce1
parent 6518
62c54fcc0a35
child 8604
04d83ba48607
child 8646
88235cdca8d7
equal deleted inserted replaced
8421:3e1cd663c2d3 8422:09687c445ce1
364 // Create basic type 364 // Create basic type
365 static const Type* get_const_basic_type(BasicType type) { 365 static const Type* get_const_basic_type(BasicType type) {
366 assert((uint)type <= T_CONFLICT && _const_basic_type[type] != NULL, "bad type"); 366 assert((uint)type <= T_CONFLICT && _const_basic_type[type] != NULL, "bad type");
367 return _const_basic_type[type]; 367 return _const_basic_type[type];
368 } 368 }
369
370 // For two instance arrays of same dimension, return the base element types.
371 // Otherwise or if the arrays have different dimensions, return NULL.
372 static void get_arrays_base_elements(const Type *a1, const Type *a2,
373 const TypeInstPtr **e1, const TypeInstPtr **e2);
369 374
370 // Mapping to the array element's basic type. 375 // Mapping to the array element's basic type.
371 BasicType array_element_basic_type() const; 376 BasicType array_element_basic_type() const;
372 377
373 // Create standard type for a ciType: 378 // Create standard type for a ciType:

mercurial