comparison src/share/vm/opto/type.hpp @ 958:c7e94e8fff43

6880053: assert(alloc_obj->as_CheckCastPP()->type() != TypeInstPtr::NOTNULL) Summary: Removed second CheckCastPP and use MembarCPUOrder after arraycopy to cloned object. Reviewed-by: never
author kvn
date Thu, 10 Sep 2009 18:18:06 -0700
parents fc4be448891f
children 148e5441d916
comparison
equal deleted inserted replaced
957:159d56b94894 958:c7e94e8fff43
712 } 712 }
713 // Creates a singleton type given an object. 713 // Creates a singleton type given an object.
714 static const TypeOopPtr* make_from_constant(ciObject* o); 714 static const TypeOopPtr* make_from_constant(ciObject* o);
715 715
716 // Make a generic (unclassed) pointer to an oop. 716 // Make a generic (unclassed) pointer to an oop.
717 static const TypeOopPtr* make(PTR ptr, int offset); 717 static const TypeOopPtr* make(PTR ptr, int offset, int instance_id = InstanceBot);
718 718
719 ciObject* const_oop() const { return _const_oop; } 719 ciObject* const_oop() const { return _const_oop; }
720 virtual ciKlass* klass() const { return _klass; } 720 virtual ciKlass* klass() const { return _klass; }
721 bool klass_is_exact() const { return _klass_is_exact; } 721 bool klass_is_exact() const { return _klass_is_exact; }
722 722