< prev index next >
src/hotspot/share/opto/type.hpp
Print this page
@@ -343,11 +343,11 @@
virtual bool is_finite() const; // Has a finite value
virtual bool is_nan() const; // Is not a number (NaN)
bool is_valuetypeptr() const;
- ciValueKlass* value_klass() const;
+ virtual ciValueKlass* value_klass() const;
// Returns this ptr type or the equivalent ptr type for this compressed pointer.
const TypePtr* make_ptr() const;
// Returns this oopptr type or the equivalent oopptr type for this compressed pointer.
@@ -769,11 +769,11 @@
_vk(vk), _larval(larval) {
}
public:
static const TypeValueType* make(ciValueKlass* vk, bool larval = false);
- ciValueKlass* value_klass() const { return _vk; }
+ virtual 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
< prev index next >