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: |