< prev index next >

src/share/vm/opto/type.cpp

Print this page

        

*** 2079,2090 **** case T_SHORT: field_array[pos++] = TypeInt::INT; break; case T_VALUETYPE: { assert(type->is_valuetype(), "inconsistent type"); ! assert(type != ciEnv::current()->___Value_klass(), "unsupported"); ! if (vt_fields_as_args) { ciValueKlass* vk = (ciValueKlass*)type; collect_value_fields(vk, field_array, pos); } else { field_array[pos++] = get_const_type(type); } --- 2079,2089 ---- case T_SHORT: field_array[pos++] = TypeInt::INT; break; case T_VALUETYPE: { assert(type->is_valuetype(), "inconsistent type"); ! if (vt_fields_as_args && type != ciEnv::current()->___Value_klass()) { ciValueKlass* vk = (ciValueKlass*)type; collect_value_fields(vk, field_array, pos); } else { field_array[pos++] = get_const_type(type); }
< prev index next >