Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
6981:8c413497f434 | 6983:070d523b96a7 |
---|---|
351 && Universe::heap()->is_in(obj->klass())) { | 351 && Universe::heap()->is_in(obj->klass())) { |
352 julong c = st->count(); | 352 julong c = st->count(); |
353 obj->print_value_on(st); | 353 obj->print_value_on(st); |
354 if (st->count() == c) { | 354 if (st->count() == c) { |
355 // No output. (Can happen in product builds.) | 355 // No output. (Can happen in product builds.) |
356 st->print("(a %s)", Klass::cast(obj->klass())->external_name()); | 356 st->print("(a %s)", obj->klass()->external_name()); |
357 } | 357 } |
358 return; | 358 return; |
359 } | 359 } |
360 } | 360 } |
361 | 361 |