Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/opto/subnode.hpp Fri Apr 11 09:56:35 2008 -0400 +++ b/src/share/vm/opto/subnode.hpp Sun Apr 13 17:43:42 2008 -0400 @@ -163,6 +163,16 @@ virtual const Type *sub( const Type *, const Type * ) const; }; +//------------------------------CmpNNode-------------------------------------- +// Compare 2 narrow oop values, returning condition codes (-1, 0 or 1). +class CmpNNode : public CmpNode { +public: + CmpNNode( Node *in1, Node *in2 ) : CmpNode(in1,in2) {} + virtual int Opcode() const; + virtual Node *Ideal(PhaseGVN *phase, bool can_reshape); + virtual const Type *sub( const Type *, const Type * ) const; +}; + //------------------------------CmpLNode--------------------------------------- // Compare 2 long values, returning condition codes (-1, 0 or 1). class CmpLNode : public CmpNode {