comparison src/share/vm/opto/matcher.cpp @ 221:1e026f8da827

6710487: More than half of JDI Regression tests hang with COOPs in -Xcomp mode Summary: Remove DecodeNNode::decode() and EncodePNode::encode() methods. Reviewed-by: rasbold, never
author kvn
date Tue, 24 Jun 2008 10:43:29 -0700
parents 8d191a7697e2
children 2a1a77d3458f
comparison
equal deleted inserted replaced
220:30369db7f5d2 221:1e026f8da827
1764 } 1764 }
1765 break; 1765 break;
1766 } 1766 }
1767 case Op_ConN: { // Convert narrow pointers above the centerline to NUL 1767 case Op_ConN: { // Convert narrow pointers above the centerline to NUL
1768 TypeNode *tn = n->as_Type(); // Constants derive from type nodes 1768 TypeNode *tn = n->as_Type(); // Constants derive from type nodes
1769 const TypePtr* tp = tn->type()->is_narrowoop()->make_oopptr(); 1769 const TypePtr* tp = tn->type()->make_ptr();
1770 if (tp->_ptr == TypePtr::AnyNull) { 1770 if (tp && tp->_ptr == TypePtr::AnyNull) {
1771 tn->set_type(TypeNarrowOop::NULL_PTR); 1771 tn->set_type(TypeNarrowOop::NULL_PTR);
1772 } 1772 }
1773 break; 1773 break;
1774 } 1774 }
1775 case Op_Binary: // These are introduced in the Post_Visit state. 1775 case Op_Binary: // These are introduced in the Post_Visit state.