comparison src/share/vm/opto/subnode.hpp @ 113:ba764ed4b6f2

6420645: Create a vm that uses compressed oops for up to 32gb heapsizes Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author coleenp
date Sun, 13 Apr 2008 17:43:42 -0400
parents a61af66fc99e
children d1605aabd0a1
comparison
equal deleted inserted replaced
110:a49a647afe9a 113:ba764ed4b6f2
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) {}