comparison src/share/vm/opto/type.hpp @ 2379:b099aaf51bf8

6962931: move interned strings out of the perm gen Reviewed-by: never, coleenp, ysr, jwilhelm
author jcoomes
date Tue, 22 Mar 2011 13:36:33 -0700
parents f95d63e2154a
children 1d1603768966
comparison
equal deleted inserted replaced
2378:924777755fad 2379:b099aaf51bf8
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;