161 virtual int Opcode() const; |
161 virtual int Opcode() const; |
162 virtual Node *Ideal(PhaseGVN *phase, bool can_reshape); |
162 virtual Node *Ideal(PhaseGVN *phase, bool can_reshape); |
163 virtual const Type *sub( const Type *, const Type * ) const; |
163 virtual const Type *sub( const Type *, const Type * ) const; |
164 }; |
164 }; |
165 |
165 |
|
166 //------------------------------CmpNNode-------------------------------------- |
|
167 // Compare 2 narrow oop values, returning condition codes (-1, 0 or 1). |
|
168 class CmpNNode : public CmpNode { |
|
169 public: |
|
170 CmpNNode( Node *in1, Node *in2 ) : CmpNode(in1,in2) {} |
|
171 virtual int Opcode() const; |
|
172 virtual Node *Ideal(PhaseGVN *phase, bool can_reshape); |
|
173 virtual const Type *sub( const Type *, const Type * ) const; |
|
174 }; |
|
175 |
166 //------------------------------CmpLNode--------------------------------------- |
176 //------------------------------CmpLNode--------------------------------------- |
167 // Compare 2 long values, returning condition codes (-1, 0 or 1). |
177 // Compare 2 long values, returning condition codes (-1, 0 or 1). |
168 class CmpLNode : public CmpNode { |
178 class CmpLNode : public CmpNode { |
169 public: |
179 public: |
170 CmpLNode( Node *in1, Node *in2 ) : CmpNode(in1,in2) {} |
180 CmpLNode( Node *in1, Node *in2 ) : CmpNode(in1,in2) {} |