1.1 --- a/src/share/vm/opto/compile.cpp Wed Nov 23 23:01:34 2016 -0800 1.2 +++ b/src/share/vm/opto/compile.cpp Wed Nov 23 23:06:39 2016 -0800 1.3 @@ -1595,6 +1595,17 @@ 1.4 } 1.5 } 1.6 1.7 +BasicType Compile::AliasType::basic_type() const { 1.8 + if (element() != NULL) { 1.9 + const Type* element = adr_type()->is_aryptr()->elem(); 1.10 + return element->isa_narrowoop() ? T_OBJECT : element->array_element_basic_type(); 1.11 + } if (field() != NULL) { 1.12 + return field()->layout_type(); 1.13 + } else { 1.14 + return T_ILLEGAL; // unknown 1.15 + } 1.16 +} 1.17 + 1.18 //---------------------------------print_on------------------------------------ 1.19 #ifndef PRODUCT 1.20 void Compile::AliasType::print_on(outputStream* st) {