< prev index next >
src/share/vm/opto/type.hpp
Print this page
rev 9233 : 8141551: C2 can not handle returns with inccompatible interface arrays
Reviewed-by: kvn
*** 366,375 ****
--- 366,380 ----
static const Type* get_const_basic_type(BasicType type) {
assert((uint)type <= T_CONFLICT && _const_basic_type[type] != NULL, "bad type");
return _const_basic_type[type];
}
+ // For two instance arrays of same dimension, return the base element types.
+ // Otherwise or if the arrays have different dimensions, return NULL.
+ static void get_arrays_base_elements(const Type *a1, const Type *a2,
+ const TypeInstPtr **e1, const TypeInstPtr **e2);
+
// Mapping to the array element's basic type.
BasicType array_element_basic_type() const;
// Create standard type for a ciType:
static const Type* get_const_type(ciType* type);
< prev index next >