1.1 --- a/src/share/vm/opto/subnode.hpp Fri Apr 11 09:56:35 2008 -0400 1.2 +++ b/src/share/vm/opto/subnode.hpp Sun Apr 13 17:43:42 2008 -0400 1.3 @@ -163,6 +163,16 @@ 1.4 virtual const Type *sub( const Type *, const Type * ) const; 1.5 }; 1.6 1.7 +//------------------------------CmpNNode-------------------------------------- 1.8 +// Compare 2 narrow oop values, returning condition codes (-1, 0 or 1). 1.9 +class CmpNNode : public CmpNode { 1.10 +public: 1.11 + CmpNNode( Node *in1, Node *in2 ) : CmpNode(in1,in2) {} 1.12 + virtual int Opcode() const; 1.13 + virtual Node *Ideal(PhaseGVN *phase, bool can_reshape); 1.14 + virtual const Type *sub( const Type *, const Type * ) const; 1.15 +}; 1.16 + 1.17 //------------------------------CmpLNode--------------------------------------- 1.18 // Compare 2 long values, returning condition codes (-1, 0 or 1). 1.19 class CmpLNode : public CmpNode {