Mercurial > hg > graal-jvmci-8
diff src/share/vm/oops/klass.hpp @ 6988:2cb439954abf
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Mon, 19 Nov 2012 15:36:13 +0100 |
parents | e522a00b91aa 070d523b96a7 |
children | 8c4b757c2eb9 |
line wrap: on
line diff
--- a/src/share/vm/oops/klass.hpp Sun Nov 18 22:45:43 2012 +0100 +++ b/src/share/vm/oops/klass.hpp Mon Nov 19 15:36:13 2012 +0100 @@ -429,12 +429,6 @@ // if not, throw either an Error or an Exception. virtual void check_valid_for_instantiation(bool throwError, TRAPS); - // Casting - static Klass* cast(Klass* k) { - assert(k->is_klass(), "cast to Klass"); - return k; - } - // array copying virtual void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS);