986 |
986 |
987 virtual bool empty(void) const; // TRUE if type is vacuous |
987 virtual bool empty(void) const; // TRUE if type is vacuous |
988 |
988 |
989 static const TypeNarrowOop *make( const TypePtr* type); |
989 static const TypeNarrowOop *make( const TypePtr* type); |
990 |
990 |
991 static const TypeNarrowOop* make_from_constant(ciObject* con) { |
991 static const TypeNarrowOop* make_from_constant(ciObject* con, bool require_constant = false) { |
992 return make(TypeOopPtr::make_from_constant(con)); |
992 return make(TypeOopPtr::make_from_constant(con, require_constant)); |
993 } |
993 } |
994 |
994 |
995 // returns the equivalent ptr type for this compressed pointer |
995 // returns the equivalent ptr type for this compressed pointer |
996 const TypePtr *get_ptrtype() const { |
996 const TypePtr *get_ptrtype() const { |
997 return _ptrtype; |
997 return _ptrtype; |