Mercurial > hg > graal-jvmci-8
diff src/share/vm/code/nmethod.cpp @ 6985:80e866b1d053
Merge
author | coleenp |
---|---|
date | Fri, 16 Nov 2012 09:19:12 -0500 |
parents | 070d523b96a7 |
children | 2cb439954abf 3c786355ffb4 |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp Fri Nov 16 09:59:08 2012 +0100 +++ b/src/share/vm/code/nmethod.cpp Fri Nov 16 09:19:12 2012 -0500 @@ -2568,9 +2568,8 @@ deps.print_dependency(); Klass* ctxk = deps.context_type(); if (ctxk != NULL) { - Klass* k = Klass::cast(ctxk); - if (k->oop_is_instance() && ((InstanceKlass*)k)->is_dependent_nmethod(this)) { - tty->print_cr(" [nmethod<=klass]%s", k->external_name()); + if (ctxk->oop_is_instance() && ((InstanceKlass*)ctxk)->is_dependent_nmethod(this)) { + tty->print_cr(" [nmethod<=klass]%s", ctxk->external_name()); } } deps.log_dependency(); // put it into the xml log also