8020750: Node::get_int: guarantee(t != NULL) failed: must be con
authortwisti
Wed, 09 Oct 2013 11:05:17 -0700
changeset 20701 ef9996662fd5
parent 20700 fce01c85d004
child 20702 bbe0fcde6e13
child 20704 b689a120e974
8020750: Node::get_int: guarantee(t != NULL) failed: must be con Reviewed-by: kvn, roland
hotspot/src/share/vm/opto/ifnode.cpp
--- a/hotspot/src/share/vm/opto/ifnode.cpp	Wed Oct 09 05:03:34 2013 -0700
+++ b/hotspot/src/share/vm/opto/ifnode.cpp	Wed Oct 09 11:05:17 2013 -0700
@@ -689,6 +689,7 @@
         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);