changeset 33067 | 0cabc639c87b |
parent 32372 | b82e88dcb26c |
child 33166 | 81352250770f |
--- a/hotspot/src/share/vm/opto/loopnode.hpp Wed Sep 16 15:54:32 2015 -0700 +++ b/hotspot/src/share/vm/opto/loopnode.hpp Thu Sep 17 08:08:47 2015 +0200 @@ -290,6 +290,7 @@ if (phi() == NULL) { return NULL; } + assert(phi()->is_Phi(), "should be PhiNode"); Node *ln = phi()->in(0); if (ln->is_CountedLoop() && ln->as_CountedLoop()->loopexit() == this) { return (CountedLoopNode*)ln;