< prev index next >

src/share/vm/opto/type.cpp

Print this page

        

*** 3775,3784 **** --- 3775,3785 ---- const TypeOopPtr *TypeAryPtr::cast_to_instance_id(int instance_id) const { if( instance_id == _instance_id ) return this; return make(_ptr, const_oop(), _ary, klass(), _klass_is_exact, _offset, instance_id, _speculative, _inline_depth); } + //-----------------------------max_array_length------------------------------- // A wrapper around arrayOopDesc::max_array_length(etype) with some input normalization. jint TypeAryPtr::max_array_length(BasicType etype) { if (!is_java_primitive(etype) && !is_reference_type(etype)) { if (etype == T_NARROWOOP) {
< prev index next >