Mercurial > hg > truffle
diff src/share/vm/ci/ciInstanceKlass.hpp @ 12883:f50418dfb1b7
Merge
author | iveresov |
---|---|
date | Sun, 13 Oct 2013 13:22:24 -0700 |
parents | d13d7aba8c12 |
children | 4d3575d37a07 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciInstanceKlass.hpp Fri Oct 11 13:14:48 2013 -0700 +++ b/src/share/vm/ci/ciInstanceKlass.hpp Sun Oct 13 13:22:24 2013 -0700 @@ -235,6 +235,13 @@ bool is_instance_klass() const { return true; } bool is_java_klass() const { return true; } + virtual ciKlass* exact_klass() { + if (is_loaded() && is_final() && !is_interface()) { + return this; + } + return NULL; + } + // Dump the current state of this klass for compilation replay. virtual void dump_replay_data(outputStream* out); };