diff options
author | twisti <none@none> | 2013-10-09 11:05:17 -0700 |
---|---|---|
committer | twisti <none@none> | 2013-10-09 11:05:17 -0700 |
commit | fe5105dee31d9ae2d6530efec6c173e5902d08a8 (patch) | |
tree | 4ad1d0873fe886f448802d15bc468dc65b7778b7 /src | |
parent | 865dc831342309ecb30a1a530410251ae59f7615 (diff) |
8020750: Node::get_int: guarantee(t != NULL) failed: must be con
Reviewed-by: kvn, roland
Diffstat (limited to 'src')
-rw-r--r-- | src/share/vm/opto/ifnode.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/share/vm/opto/ifnode.cpp b/src/share/vm/opto/ifnode.cpp index 7400e939b..ee54c4fc4 100644 --- a/src/share/vm/opto/ifnode.cpp +++ b/src/share/vm/opto/ifnode.cpp @@ -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); |