8295116: C2: assert(dead->outcnt() == 0 && !dead->is_top()) failed: node must be dead
Reviewed-by: thartmann, rcastanedalo
This commit is contained in:
parent
49b86224aa
commit
94575d14f4
@ -733,6 +733,7 @@ bool IfNode::is_ctrl_folds(Node* ctrl, PhaseIterGVN* igvn) {
|
||||
ctrl->in(0)->as_If()->cmpi_folds(igvn, true) &&
|
||||
// Must compare same value
|
||||
ctrl->in(0)->in(1)->in(1)->in(1) != NULL &&
|
||||
ctrl->in(0)->in(1)->in(1)->in(1) != igvn->C->top() &&
|
||||
ctrl->in(0)->in(1)->in(1)->in(1) == in(1)->in(1)->in(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user