mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00
8020750: Node::get_int: guarantee(t != NULL) failed: must be con
Reviewed-by: kvn, roland
This commit is contained in:
parent
e9dbb39270
commit
b90addac58
1 changed files with 1 additions and 0 deletions
|
@ -689,6 +689,7 @@ Node* IfNode::fold_compares(PhaseGVN* phase) {
|
|||
ctrl->in(0)->in(1)->is_Bool() &&
|
||||
ctrl->in(0)->in(1)->in(1)->Opcode() == Op_CmpI &&
|
||||
ctrl->in(0)->in(1)->in(1)->in(2)->is_Con() &&
|
||||
ctrl->in(0)->in(1)->in(1)->in(2) != phase->C->top() &&
|
||||
ctrl->in(0)->in(1)->in(1)->in(1) == n) {
|
||||
IfNode* dom_iff = ctrl->in(0)->as_If();
|
||||
Node* otherproj = dom_iff->proj_out(!ctrl->as_Proj()->_con);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue