We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faa9c69 commit 3560e68Copy full SHA for 3560e68
src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp
@@ -2158,7 +2158,7 @@ void MemoryGraphFixer::collect_memory_nodes() {
2158
assert(m != nullptr || (c->is_Loop() && j == LoopNode::LoopBackControl && iteration == 1) || _phase->C->has_irreducible_loop() || has_never_branch(_phase->C->root()), "expect memory state");
2159
if (m != nullptr) {
2160
if (m == prev_region && ((c->is_Loop() && j == LoopNode::LoopBackControl) || (prev_region->is_Phi() && prev_region->in(0) == c))) {
2161
- assert(c->is_Loop() && j == LoopNode::LoopBackControl || _phase->C->has_irreducible_loop() || has_never_branch(_phase->C->root()), "");
+ assert((c->is_Loop() && j == LoopNode::LoopBackControl) || _phase->C->has_irreducible_loop() || has_never_branch(_phase->C->root()), "");
2162
// continue
2163
} else if (unique == nullptr) {
2164
unique = m;
0 commit comments