src/share/vm/opto/type.hpp

changeset 6487
15120a36272d
parent 6043
6c2f07d1495f
child 6507
752ba2e5f6d0
     1.1 --- a/src/share/vm/opto/type.hpp	Thu Nov 21 18:29:34 2013 -0800
     1.2 +++ b/src/share/vm/opto/type.hpp	Thu Nov 21 19:00:57 2013 -0800
     1.3 @@ -524,6 +524,9 @@
     1.4    bool is_con(int i) const { return is_con() && _lo == i; }
     1.5    jlong get_con() const { assert( is_con(), "" ); return _lo; }
     1.6  
     1.7 +  // Check for positive 32-bit value.
     1.8 +  int is_positive_int() const { return _lo >= 0 && _hi <= (jlong)max_jint; }
     1.9 +
    1.10    virtual bool        is_finite() const;  // Has a finite value
    1.11  
    1.12    virtual const Type *xmeet( const Type *t ) const;

mercurial