Mercurial > hg > truffle
comparison src/share/vm/opto/type.hpp @ 14437:15120a36272d
8028767: PPC64: (part 121): smaller shared changes needed to build C2
Summary: smaller shared changes required to build the C2 compiler on PPC64.
Reviewed-by: kvn
author | goetz |
---|---|
date | Thu, 21 Nov 2013 19:00:57 -0800 |
parents | 6c2f07d1495f |
children | 45467c53f178 |
comparison
equal
deleted
inserted
replaced
14436:b0133e4187d3 | 14437:15120a36272d |
---|---|
521 | 521 |
522 // Check for single integer | 522 // Check for single integer |
523 int is_con() const { return _lo==_hi; } | 523 int is_con() const { return _lo==_hi; } |
524 bool is_con(int i) const { return is_con() && _lo == i; } | 524 bool is_con(int i) const { return is_con() && _lo == i; } |
525 jlong get_con() const { assert( is_con(), "" ); return _lo; } | 525 jlong get_con() const { assert( is_con(), "" ); return _lo; } |
526 | |
527 // Check for positive 32-bit value. | |
528 int is_positive_int() const { return _lo >= 0 && _hi <= (jlong)max_jint; } | |
526 | 529 |
527 virtual bool is_finite() const; // Has a finite value | 530 virtual bool is_finite() const; // Has a finite value |
528 | 531 |
529 virtual const Type *xmeet( const Type *t ) const; | 532 virtual const Type *xmeet( const Type *t ) const; |
530 virtual const Type *xdual() const; // Compute dual right now. | 533 virtual const Type *xdual() const; // Compute dual right now. |