src/share/vm/opto/valuetypenode.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File valhalla Cdiff src/share/vm/opto/valuetypenode.cpp

src/share/vm/opto/valuetypenode.cpp

Print this page

        

*** 34,44 **** return new ValueTypeNode(type, gvn.zerocon(T_VALUETYPE)); } Node* ValueTypeNode::make(PhaseGVN& gvn, Node* mem, Node* oop) { // Create and initialize a ValueTypeNode by loading all field ! // values from memory and also save the oop to the heap allocated version. const TypeValueTypePtr* vtptr = gvn.type(oop)->is_valuetypeptr(); ValueTypeNode* vt = new ValueTypeNode(vtptr->value_type(), oop); for (uint index = 0; index < vt->field_count(); ++index) { int offset = vt->get_field_offset(index); const TypePtr* adr_type = vtptr->add_offset(offset); --- 34,44 ---- return new ValueTypeNode(type, gvn.zerocon(T_VALUETYPE)); } Node* ValueTypeNode::make(PhaseGVN& gvn, Node* mem, Node* oop) { // Create and initialize a ValueTypeNode by loading all field ! // values from memory and also save the oop to the heap-allocated version. const TypeValueTypePtr* vtptr = gvn.type(oop)->is_valuetypeptr(); ValueTypeNode* vt = new ValueTypeNode(vtptr->value_type(), oop); for (uint index = 0; index < vt->field_count(); ++index) { int offset = vt->get_field_offset(index); const TypePtr* adr_type = vtptr->add_offset(offset);
src/share/vm/opto/valuetypenode.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File