Mercurial > hg > truffle
diff src/share/vm/ci/ciTypeFlow.cpp @ 2491:0654ee04b214
Merge with OpenJDK.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 22 Apr 2011 15:30:53 +0200 |
parents | 322a41ec766c |
children | e9a5e0a812c8 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciTypeFlow.cpp Fri Apr 22 15:22:45 2011 +0200 +++ b/src/share/vm/ci/ciTypeFlow.cpp Fri Apr 22 15:30:53 2011 +0200 @@ -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(" ==================================================== ");