< prev index next >

src/hotspot/share/opto/vectornode.cpp

Print this page

        

*** 1070,1080 **** return new VectorInsertNode(vec, new_val, pos, vec->bottom_type()->is_vect()); } Node* VectorUnboxNode::Identity(PhaseGVN *phase) { Node* n = obj()->uncast(); ! if (n->Opcode() == Op_VectorBox) { if (Type::cmp(bottom_type(), n->in(VectorBoxNode::Value)->bottom_type()) == 0) { return n->in(VectorBoxNode::Value); } } return this; --- 1070,1080 ---- return new VectorInsertNode(vec, new_val, pos, vec->bottom_type()->is_vect()); } Node* VectorUnboxNode::Identity(PhaseGVN *phase) { Node* n = obj()->uncast(); ! if (EnableVectorReboxing && n->Opcode() == Op_VectorBox) { if (Type::cmp(bottom_type(), n->in(VectorBoxNode::Value)->bottom_type()) == 0) { return n->in(VectorBoxNode::Value); } } return this;
< prev index next >