Mercurial > hg > truffle
comparison src/share/vm/opto/type.hpp @ 1080:7c57aead6d3e
6892658: C2 should optimize some stringbuilder patterns
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Thu, 12 Nov 2009 09:24:21 -0800 |
parents | 03b336640699 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1078:8e7adf982378 | 1080:7c57aead6d3e |
---|---|
844 const TypeInt* size() const { return _ary->_size; } | 844 const TypeInt* size() const { return _ary->_size; } |
845 | 845 |
846 static const TypeAryPtr *make( PTR ptr, const TypeAry *ary, ciKlass* k, bool xk, int offset, int instance_id = InstanceBot); | 846 static const TypeAryPtr *make( PTR ptr, const TypeAry *ary, ciKlass* k, bool xk, int offset, int instance_id = InstanceBot); |
847 // Constant pointer to array | 847 // Constant pointer to array |
848 static const TypeAryPtr *make( PTR ptr, ciObject* o, const TypeAry *ary, ciKlass* k, bool xk, int offset, int instance_id = InstanceBot); | 848 static const TypeAryPtr *make( PTR ptr, ciObject* o, const TypeAry *ary, ciKlass* k, bool xk, int offset, int instance_id = InstanceBot); |
849 | |
850 // Convenience | |
851 static const TypeAryPtr *make(ciObject* o); | |
852 | 849 |
853 // Return a 'ptr' version of this type | 850 // Return a 'ptr' version of this type |
854 virtual const Type *cast_to_ptr_type(PTR ptr) const; | 851 virtual const Type *cast_to_ptr_type(PTR ptr) const; |
855 | 852 |
856 virtual const Type *cast_to_exactness(bool klass_is_exact) const; | 853 virtual const Type *cast_to_exactness(bool klass_is_exact) const; |