Mercurial > hg > truffle
comparison src/share/vm/opto/ifnode.cpp @ 12874:46ef27bcacb3
8020750: Node::get_int: guarantee(t != NULL) failed: must be con
Reviewed-by: kvn, roland
author | twisti |
---|---|
date | Wed, 09 Oct 2013 11:05:17 -0700 |
parents | c9ccd7b85f20 |
children | 3213ba4d3dff |
comparison
equal
deleted
inserted
replaced
12873:4e7f99b70d9d | 12874:46ef27bcacb3 |
---|---|
687 ctrl->in(0)->is_If() && | 687 ctrl->in(0)->is_If() && |
688 ctrl->in(0)->outcnt() == 2 && | 688 ctrl->in(0)->outcnt() == 2 && |
689 ctrl->in(0)->in(1)->is_Bool() && | 689 ctrl->in(0)->in(1)->is_Bool() && |
690 ctrl->in(0)->in(1)->in(1)->Opcode() == Op_CmpI && | 690 ctrl->in(0)->in(1)->in(1)->Opcode() == Op_CmpI && |
691 ctrl->in(0)->in(1)->in(1)->in(2)->is_Con() && | 691 ctrl->in(0)->in(1)->in(1)->in(2)->is_Con() && |
692 ctrl->in(0)->in(1)->in(1)->in(2) != phase->C->top() && | |
692 ctrl->in(0)->in(1)->in(1)->in(1) == n) { | 693 ctrl->in(0)->in(1)->in(1)->in(1) == n) { |
693 IfNode* dom_iff = ctrl->in(0)->as_If(); | 694 IfNode* dom_iff = ctrl->in(0)->as_If(); |
694 Node* otherproj = dom_iff->proj_out(!ctrl->as_Proj()->_con); | 695 Node* otherproj = dom_iff->proj_out(!ctrl->as_Proj()->_con); |
695 if (otherproj->outcnt() == 1 && otherproj->unique_out()->is_Region() && | 696 if (otherproj->outcnt() == 1 && otherproj->unique_out()->is_Region() && |
696 this_bool->_test._test != BoolTest::ne && this_bool->_test._test != BoolTest::eq) { | 697 this_bool->_test._test != BoolTest::ne && this_bool->_test._test != BoolTest::eq) { |