< prev index next >

src/share/vm/opto/type.hpp

Print this page

        

*** 1409,1427 **** // Does the type exclude subclasses of the klass? (Inexact == polymorphic.) bool _klass_is_exact; public: - ciSymbol* name() const { return klass()->name(); } - ciKlass* klass() const { return _klass; } bool klass_is_exact() const { return _klass_is_exact; } ! bool is_loaded() const { return klass()->is_loaded(); } ! ! // Make a generic (unclassed) pointer to metadata. ! static const TypeKlassPtr* make(PTR ptr, Offset offset); // ptr to klass 'k' static const TypeKlassPtr* make(ciKlass* k) { return make( TypePtr::Constant, k, Offset(0)); } // ptr to klass 'k' with offset static const TypeKlassPtr* make(ciKlass* k, Offset offset) { return make( TypePtr::Constant, k, offset); } --- 1409,1422 ---- // Does the type exclude subclasses of the klass? (Inexact == polymorphic.) bool _klass_is_exact; public: ciKlass* klass() const { return _klass; } bool klass_is_exact() const { return _klass_is_exact; } ! bool is_loaded() const { return klass() != NULL && klass()->is_loaded(); } // ptr to klass 'k' static const TypeKlassPtr* make(ciKlass* k) { return make( TypePtr::Constant, k, Offset(0)); } // ptr to klass 'k' with offset static const TypeKlassPtr* make(ciKlass* k, Offset offset) { return make( TypePtr::Constant, k, offset); }
*** 1442,1451 **** --- 1437,1447 ---- virtual intptr_t get_con() const; // Convenience common pre-built types. static const TypeKlassPtr* OBJECT; // Not-null object klass or below static const TypeKlassPtr* OBJECT_OR_NULL; // Maybe-null version of same + static const TypeKlassPtr* BOTTOM; #ifndef PRODUCT virtual void dump2( Dict &d, uint depth, outputStream *st ) const; // Specialized per-Type dumping #endif };
< prev index next >