hotspot/src/share/vm/opto/subnode.hpp
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
   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) {}