1.1 --- a/src/share/vm/opto/subnode.cpp Mon Jun 23 18:21:18 2008 -0700 1.2 +++ b/src/share/vm/opto/subnode.cpp Tue Jun 24 10:43:29 2008 -0700 1.3 @@ -743,8 +743,8 @@ 1.4 // Simplify an CmpN (compare 2 pointers) node, based on local information. 1.5 // If both inputs are constants, compare them. 1.6 const Type *CmpNNode::sub( const Type *t1, const Type *t2 ) const { 1.7 - const TypePtr *r0 = t1->is_narrowoop()->make_oopptr(); // Handy access 1.8 - const TypePtr *r1 = t2->is_narrowoop()->make_oopptr(); 1.9 + const TypePtr *r0 = t1->make_ptr(); // Handy access 1.10 + const TypePtr *r1 = t2->make_ptr(); 1.11 1.12 // Undefined inputs makes for an undefined result 1.13 if( TypePtr::above_centerline(r0->_ptr) ||