< prev index next >
src/hotspot/share/opto/type.hpp
Print this page
@@ -759,17 +759,22 @@
//------------------------------TypeValue---------------------------------------
// Class of Value Type Types
class TypeValueType : public Type {
private:
ciValueKlass* _vk;
+ bool _larval;
protected:
- TypeValueType(ciValueKlass* vk) : Type(ValueType) { _vk = vk; }
+ TypeValueType(ciValueKlass* vk, bool larval)
+ : Type(ValueType),
+ _vk(vk), _larval(larval) {
+ }
public:
- static const TypeValueType* make(ciValueKlass* vk);
+ 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 >