< prev index next >

src/hotspot/share/opto/type.hpp

Print this page

        

*** 759,775 **** //------------------------------TypeValue--------------------------------------- // Class of Value Type Types class TypeValueType : public Type { private: ciValueKlass* _vk; protected: ! TypeValueType(ciValueKlass* vk) : Type(ValueType) { _vk = vk; } public: ! static const TypeValueType* make(ciValueKlass* vk); ciValueKlass* value_klass() const { return _vk; } virtual bool eq(const Type* t) const; virtual int hash() const; // Type specific hashing virtual bool singleton(void) const; // TRUE if type is a singleton virtual bool empty(void) const; // TRUE if type is vacuous --- 759,780 ---- //------------------------------TypeValue--------------------------------------- // Class of Value Type Types class TypeValueType : public Type { private: ciValueKlass* _vk; + bool _larval; protected: ! TypeValueType(ciValueKlass* vk, bool larval) ! : Type(ValueType), ! _vk(vk), _larval(larval) { ! } public: ! static const TypeValueType* make(ciValueKlass* vk, bool larval = false); ciValueKlass* value_klass() const { return _vk; } + bool larval() const { return _larval; } virtual bool eq(const Type* t) const; virtual int hash() const; // Type specific hashing virtual bool singleton(void) const; // TRUE if type is a singleton virtual bool empty(void) const; // TRUE if type is vacuous
< prev index next >