comparison src/share/vm/opto/type.hpp @ 14456:abec000618bf

Merge
author kvn
date Tue, 28 Jan 2014 12:25:34 -0800
parents 15120a36272d
children 45467c53f178
comparison
equal deleted inserted replaced
14269:2a8891e0a082 14456:abec000618bf
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.