7025708: Assertion if using "-XX:+CITraceTypeFlow -XX:+Verbose" together

Reviewed-by: never
This commit is contained in:
Volker Simonis 2011-03-25 11:29:30 -07:00 committed by Tom Rodriguez
parent 09ca02c5b8
commit f6a0d5983e

View File

@ -1871,7 +1871,8 @@ void ciTypeFlow::Block::print_value_on(outputStream* st) const {
// ------------------------------------------------------------------
// ciTypeFlow::Block::print_on
void ciTypeFlow::Block::print_on(outputStream* st) const {
if ((Verbose || WizardMode)) {
if ((Verbose || WizardMode) && (limit() >= 0)) {
// Don't print 'dummy' blocks (i.e. blocks with limit() '-1')
outer()->method()->print_codes_on(start(), limit(), st);
}
st->print_cr(" ==================================================== ");