Mercurial > hg > truffle
diff src/share/vm/oops/objArrayKlass.hpp @ 6983:070d523b96a7
8001471: Klass::cast() does nothing
Summary: Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp
author | hseigel |
---|---|
date | Mon, 12 Nov 2012 16:15:05 -0500 |
parents | d8ce2825b193 |
children | db9981fd3124 |
line wrap: on
line diff
--- a/src/share/vm/oops/objArrayKlass.hpp Fri Nov 09 22:22:53 2012 -0800 +++ b/src/share/vm/oops/objArrayKlass.hpp Mon Nov 12 16:15:05 2012 -0500 @@ -74,7 +74,7 @@ void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS); // Compute protection domain - oop protection_domain() { return Klass::cast(bottom_klass())->protection_domain(); } + oop protection_domain() { return bottom_klass()->protection_domain(); } private: // Either oop or narrowOop depending on UseCompressedOops.