8072422: Cleanup: Remove some unused flags/code in loop optimizations

Remove unused flags, change test using them.

Reviewed-by: kvn, twisti
This commit is contained in:
Zoltan Majo 2016-04-04 12:52:11 +02:00
parent fa667c5409
commit 69d14c811b
8 changed files with 179 additions and 373 deletions

View file

@ -661,8 +661,7 @@ void Parse::do_all_blocks() {
// (Note that dead locals do not get phis built, ever.)
ensure_phis_everywhere();
if (block->is_SEL_head() &&
(UseLoopPredicate || LoopLimitCheck)) {
if (block->is_SEL_head() && UseLoopPredicate) {
// Add predicate to single entry (not irreducible) loop head.
assert(!block->has_merged_backedge(), "only entry paths should be merged for now");
// Need correct bci for predicate.