diff src/share/vm/compiler/disassembler.cpp @ 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 3d701c802d01
children 7d815d842ee0 a5de0cc2f91c
line wrap: on
line diff
--- a/src/share/vm/compiler/disassembler.cpp	Fri Nov 09 22:22:53 2012 -0800
+++ b/src/share/vm/compiler/disassembler.cpp	Mon Nov 12 16:15:05 2012 -0500
@@ -353,7 +353,7 @@
       obj->print_value_on(st);
       if (st->count() == c) {
         // No output.  (Can happen in product builds.)
-        st->print("(a %s)", Klass::cast(obj->klass())->external_name());
+        st->print("(a %s)", obj->klass()->external_name());
       }
       return;
     }