Skip to content

Commit bdfd5e8

Browse files
Anton Seoane Ampudiarobcasloz
authored andcommitted
8367690: C2: Unneeded branch in reduce_phi
Reviewed-by: rcastanedalo, chagedorn
1 parent 6bf3581 commit bdfd5e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/hotspot/share/opto/escape.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,9 +1296,8 @@ void ConnectionGraph::reduce_phi(PhiNode* ophi, GrowableArray<Node *> &alloc_wo
12961296
castpps.push(use);
12971297
} else if (use->is_AddP() || use->is_Cmp()) {
12981298
others.push(use);
1299-
} else if (use->is_SafePoint()) {
1300-
// processed later
13011299
} else {
1300+
// Safepoints to be processed later; other users aren't expected here
13021301
assert(use->is_SafePoint(), "Unexpected user of reducible Phi %d -> %d:%s:%d", ophi->_idx, use->_idx, use->Name(), use->outcnt());
13031302
}
13041303
}

0 commit comments

Comments
 (0)