hotspot/src/share/vm/jvmci/jvmciEnv.cpp
changeset 38133 78b95467b9f1
parent 37296 613278eb2a1e
child 38719 133bf85c3f36
--- a/hotspot/src/share/vm/jvmci/jvmciEnv.cpp	Mon Apr 25 21:25:22 2016 +0300
+++ b/hotspot/src/share/vm/jvmci/jvmciEnv.cpp	Tue Apr 26 10:28:51 2016 +0200
@@ -546,7 +546,7 @@
           if (entry_bci == InvocationEntryBci) {
             if (TieredCompilation) {
               // If there is an old version we're done with it
-              nmethod* old = method->code();
+              CompiledMethod* old = method->code();
               if (TraceMethodReplacement && old != NULL) {
                 ResourceMark rm;
                 char *method_name = method->name_and_sig_as_C_string();