< prev index next >
src/hotspot/share/opto/parse3.cpp
Print this page
*** 324,337 ****
uncommon_trap(Deoptimization::Reason_null_check, Deoptimization::Action_none);
assert(stopped(), "dead path");
return;
}
if (is_flattened) {
- // if (!val->is_ValueType()) {
- // const TypeValueTypePtr* vtptr = _gvn.type(val)->isa_valuetypeptr();
- // val = ValueTypeNode::make_from_oop(this, val, vtptr->value_klass(), /* null_check */ false, /* buffer_check */ false);
- // }
// Store flattened value type to a non-static field
assert(bt == T_VALUETYPE, "flattening is only supported for value type fields");
val->as_ValueType()->store_flattened(this, obj, obj, field->holder(), offset);
} else {
store_oop_to_object(control(), obj, adr, adr_type, val, field_type, bt, mo);
--- 324,333 ----
< prev index next >