< prev index next >

src/share/vm/opto/type.hpp

Print this page

        

*** 970,979 **** --- 970,981 ---- virtual const Type *cast_to_exactness(bool klass_is_exact) const; virtual const TypeOopPtr *cast_to_instance_id(int instance_id) const; + virtual const TypeOopPtr *cast_to_nonconst() const; + // corresponding pointer to klass, for a given instance const TypeKlassPtr* as_klass_type() const; virtual const TypePtr *add_offset( intptr_t offset ) const; // Return same type without a speculative part
*** 1061,1070 **** --- 1063,1074 ---- virtual const Type *cast_to_exactness(bool klass_is_exact) const; virtual const TypeOopPtr *cast_to_instance_id(int instance_id) const; + virtual const TypeOopPtr *cast_to_nonconst() const; + virtual const TypePtr *add_offset( intptr_t offset ) const; // Return same type without a speculative part virtual const Type* remove_speculative() const; virtual const TypeOopPtr* with_inline_depth(int depth) const;
*** 1136,1145 **** --- 1140,1151 ---- virtual const Type *cast_to_exactness(bool klass_is_exact) const; virtual const TypeOopPtr *cast_to_instance_id(int instance_id) const; + virtual const TypeOopPtr *cast_to_nonconst() const; + virtual const TypeAryPtr* cast_to_size(const TypeInt* size) const; virtual const TypeInt* narrow_size_type(const TypeInt* size) const; virtual bool empty(void) const; // TRUE if type is vacuous virtual const TypePtr *add_offset( intptr_t offset ) const;
*** 1646,1656 **** ((_base == NarrowKlass) ? is_narrowklass()->get_ptrtype() : (isa_ptr() ? is_ptr() : NULL)); } inline const TypeOopPtr* Type::make_oopptr() const { ! return (_base == NarrowOop) ? is_narrowoop()->get_ptrtype()->is_oopptr() : is_oopptr(); } inline const TypeNarrowOop* Type::make_narrowoop() const { return (_base == NarrowOop) ? is_narrowoop() : (isa_ptr() ? TypeNarrowOop::make(is_ptr()) : NULL); --- 1652,1662 ---- ((_base == NarrowKlass) ? is_narrowklass()->get_ptrtype() : (isa_ptr() ? is_ptr() : NULL)); } inline const TypeOopPtr* Type::make_oopptr() const { ! return (_base == NarrowOop) ? is_narrowoop()->get_ptrtype()->is_oopptr() : isa_oopptr(); } inline const TypeNarrowOop* Type::make_narrowoop() const { return (_base == NarrowOop) ? is_narrowoop() : (isa_ptr() ? TypeNarrowOop::make(is_ptr()) : NULL);
< prev index next >