Mercurial > hg > truffle
comparison src/share/vm/opto/type.hpp @ 17812:a7d4d4655766
Merge
author | kvn |
---|---|
date | Wed, 26 Mar 2014 18:21:05 -0700 |
parents | 62c54fcc0a35 |
children | 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
17789:6b207d038106 | 17812:a7d4d4655766 |
---|---|
570 | 570 |
571 // Check for single integer | 571 // Check for single integer |
572 int is_con() const { return _lo==_hi; } | 572 int is_con() const { return _lo==_hi; } |
573 bool is_con(int i) const { return is_con() && _lo == i; } | 573 bool is_con(int i) const { return is_con() && _lo == i; } |
574 jlong get_con() const { assert( is_con(), "" ); return _lo; } | 574 jlong get_con() const { assert( is_con(), "" ); return _lo; } |
575 | |
576 // Check for positive 32-bit value. | |
577 int is_positive_int() const { return _lo >= 0 && _hi <= (jlong)max_jint; } | |
575 | 578 |
576 virtual bool is_finite() const; // Has a finite value | 579 virtual bool is_finite() const; // Has a finite value |
577 | 580 |
578 | 581 |
579 virtual const Type *xmeet( const Type *t ) const; | 582 virtual const Type *xmeet( const Type *t ) const; |