< prev index next >
src/share/vm/opto/macro.cpp
Print this page
rev 10535 : incremental inlining fixes
*** 829,840 ****
}
if (res != NULL) {
klass = res_type->klass();
// Value types are only allocated on demand
! assert(!klass->is_valuetype(), "value type allocations should not be scalar replaceable");
! if (res_type->isa_instptr()) {
// find the fields of the class which will be needed for safepoint debug information
assert(klass->is_instance_klass(), "must be an instance klass.");
iklass = klass->as_instance_klass();
nfields = iklass->nof_nonstatic_fields();
} else {
--- 829,839 ----
}
if (res != NULL) {
klass = res_type->klass();
// Value types are only allocated on demand
! if (res_type->isa_instptr() || res_type->isa_valuetypeptr()) {
// find the fields of the class which will be needed for safepoint debug information
assert(klass->is_instance_klass(), "must be an instance klass.");
iklass = klass->as_instance_klass();
nfields = iklass->nof_nonstatic_fields();
} else {
< prev index next >