Mercurial > hg > graal-compiler
changeset 2398:322a41ec766c
7025708: Assertion if using "-XX:+CITraceTypeFlow -XX:+Verbose" together
Reviewed-by: never
Contributed-by: volker.simonis@gmail.com
author | never |
---|---|
date | Fri, 25 Mar 2011 11:29:30 -0700 |
parents | b868d9928221 |
children | b2949bf39900 |
files | src/share/vm/ci/ciTypeFlow.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/ci/ciTypeFlow.cpp Thu Mar 24 23:04:40 2011 -0700 +++ b/src/share/vm/ci/ciTypeFlow.cpp Fri Mar 25 11:29:30 2011 -0700 @@ -1871,7 +1871,8 @@ // ------------------------------------------------------------------ // 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(" ==================================================== ");