--- old/src/share/vm/opto/loopnode.hpp 2015-09-07 13:56:42.743375275 +0200 +++ new/src/share/vm/opto/loopnode.hpp 2015-09-07 13:56:42.667375278 +0200 @@ -278,7 +278,7 @@ Node *incr() const { Node *tmp = cmp_node(); return (tmp && tmp->req()==3) ? tmp->in(1) : NULL; } Node *limit() const { Node *tmp = cmp_node(); return (tmp && tmp->req()==3) ? tmp->in(2) : NULL; } Node *stride() const { Node *tmp = incr (); return (tmp && tmp->req()==3) ? tmp->in(2) : NULL; } - Node *phi() const { Node *tmp = incr (); return (tmp && tmp->req()==3) ? tmp->in(1) : NULL; } + Node *phi() const { Node *tmp = incr (); return (tmp && tmp->req()==3) ? tmp->in(1)->isa_Phi() : NULL; } Node *init_trip() const { Node *tmp = phi (); return (tmp && tmp->req()==3) ? tmp->in(1) : NULL; } int stride_con() const; bool stride_is_con() const { Node *tmp = stride (); return (tmp != NULL && tmp->is_Con()); }