src/share/vm/opto/type.hpp

changeset 741
af945ba2e739
parent 670
9c2ecc2ffb12
child 801
8261ee795323
     1.1 --- a/src/share/vm/opto/type.hpp	Wed Aug 27 09:15:46 2008 -0700
     1.2 +++ b/src/share/vm/opto/type.hpp	Wed Aug 27 14:47:32 2008 -0700
     1.3 @@ -581,7 +581,8 @@
     1.4  
     1.5    virtual intptr_t get_con() const;
     1.6  
     1.7 -  virtual const TypePtr *add_offset( int offset ) const;
     1.8 +  int xadd_offset( intptr_t offset ) const;
     1.9 +  virtual const TypePtr *add_offset( intptr_t offset ) const;
    1.10  
    1.11    virtual bool singleton(void) const;    // TRUE if type is a singleton
    1.12    virtual bool empty(void) const;        // TRUE if type is vacuous
    1.13 @@ -632,7 +633,7 @@
    1.14  
    1.15    virtual intptr_t get_con() const;
    1.16  
    1.17 -  virtual const TypePtr *add_offset( int offset ) const;
    1.18 +  virtual const TypePtr *add_offset( intptr_t offset ) const;
    1.19  
    1.20    virtual const Type *xmeet( const Type *t ) const;
    1.21    virtual const Type *xdual() const;    // Compute dual right now.
    1.22 @@ -659,7 +660,6 @@
    1.23    };
    1.24  protected:
    1.25  
    1.26 -  int xadd_offset( int offset ) const;
    1.27    // Oop is NULL, unless this is a constant oop.
    1.28    ciObject*     _const_oop;   // Constant oop
    1.29    // If _klass is NULL, then so is _sig.  This is an unloaded klass.
    1.30 @@ -724,7 +724,7 @@
    1.31    // corresponding pointer to klass, for a given instance
    1.32    const TypeKlassPtr* as_klass_type() const;
    1.33  
    1.34 -  virtual const TypePtr *add_offset( int offset ) const;
    1.35 +  virtual const TypePtr *add_offset( intptr_t offset ) const;
    1.36  
    1.37    virtual const Type *xmeet( const Type *t ) const;
    1.38    virtual const Type *xdual() const;    // Compute dual right now.
    1.39 @@ -793,7 +793,7 @@
    1.40  
    1.41    virtual const TypeOopPtr *cast_to_instance_id(int instance_id) const;
    1.42  
    1.43 -  virtual const TypePtr *add_offset( int offset ) const;
    1.44 +  virtual const TypePtr *add_offset( intptr_t offset ) const;
    1.45  
    1.46    virtual const Type *xmeet( const Type *t ) const;
    1.47    virtual const TypeInstPtr *xmeet_unloaded( const TypeInstPtr *t ) const;
    1.48 @@ -842,7 +842,7 @@
    1.49    virtual const TypeAryPtr* cast_to_size(const TypeInt* size) const;
    1.50  
    1.51    virtual bool empty(void) const;        // TRUE if type is vacuous
    1.52 -  virtual const TypePtr *add_offset( int offset ) const;
    1.53 +  virtual const TypePtr *add_offset( intptr_t offset ) const;
    1.54  
    1.55    virtual const Type *xmeet( const Type *t ) const;
    1.56    virtual const Type *xdual() const;    // Compute dual right now.
    1.57 @@ -896,7 +896,7 @@
    1.58    // corresponding pointer to instance, for a given class
    1.59    const TypeOopPtr* as_instance_type() const;
    1.60  
    1.61 -  virtual const TypePtr *add_offset( int offset ) const;
    1.62 +  virtual const TypePtr *add_offset( intptr_t offset ) const;
    1.63    virtual const Type    *xmeet( const Type *t ) const;
    1.64    virtual const Type    *xdual() const;      // Compute dual right now.
    1.65  

mercurial