< prev index next >

src/share/vm/opto/compile.cpp

Print this page

        

*** 1593,1602 **** --- 1593,1613 ---- } else { _general_index = 0; } } + BasicType Compile::AliasType::basic_type() const { + if (element() != NULL) { + const Type* element = adr_type()->is_aryptr()->elem(); + return element->isa_narrowoop() ? T_OBJECT : element->array_element_basic_type(); + } if (field() != NULL) { + return field()->layout_type(); + } else { + return T_ILLEGAL; // unknown + } + } + //---------------------------------print_on------------------------------------ #ifndef PRODUCT void Compile::AliasType::print_on(outputStream* st) { if (index() < 10) st->print("@ <%d> ", index());
< prev index next >