src/share/vm/opto/type.hpp

changeset 1444
03b336640699
parent 1427
6a8ccac44f41
child 1515
7c57aead6d3e
     1.1 --- a/src/share/vm/opto/type.hpp	Wed Oct 07 12:43:50 2009 -0700
     1.2 +++ b/src/share/vm/opto/type.hpp	Wed Oct 07 15:38:37 2009 -0700
     1.3 @@ -168,7 +168,7 @@
     1.4    // MEET operation; lower in lattice.
     1.5    const Type *meet( const Type *t ) const;
     1.6    // WIDEN: 'widens' for Ints and other range types
     1.7 -  virtual const Type *widen( const Type *old ) const { return this; }
     1.8 +  virtual const Type *widen( const Type *old, const Type* limit ) const { return this; }
     1.9    // NARROW: complement for widen, used by pessimistic phases
    1.10    virtual const Type *narrow( const Type *old ) const { return this; }
    1.11  
    1.12 @@ -409,7 +409,7 @@
    1.13  
    1.14    virtual const Type *xmeet( const Type *t ) const;
    1.15    virtual const Type *xdual() const;    // Compute dual right now.
    1.16 -  virtual const Type *widen( const Type *t ) const;
    1.17 +  virtual const Type *widen( const Type *t, const Type* limit_type ) const;
    1.18    virtual const Type *narrow( const Type *t ) const;
    1.19    // Do not kill _widen bits.
    1.20    virtual const Type *filter( const Type *kills ) const;
    1.21 @@ -465,7 +465,7 @@
    1.22  
    1.23    virtual const Type *xmeet( const Type *t ) const;
    1.24    virtual const Type *xdual() const;    // Compute dual right now.
    1.25 -  virtual const Type *widen( const Type *t ) const;
    1.26 +  virtual const Type *widen( const Type *t, const Type* limit_type ) const;
    1.27    virtual const Type *narrow( const Type *t ) const;
    1.28    // Do not kill _widen bits.
    1.29    virtual const Type *filter( const Type *kills ) const;

mercurial