equal
deleted
inserted
replaced
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: |