src/share/vm/opto/type.hpp

changeset 2661
b099aaf51bf8
parent 2314
f95d63e2154a
child 2708
1d1603768966
equal deleted inserted replaced
2660:924777755fad 2661: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;

mercurial