changeset 51078 | fc6cfe40e32a |
parent 50180 | ffa644980dff |
child 51085 | ad9d95f1a1f6 |
--- a/src/hotspot/share/opto/arraycopynode.cpp Fri Jul 13 11:21:55 2018 +0800 +++ b/src/hotspot/share/opto/arraycopynode.cpp Thu Jul 12 16:31:28 2018 +0200 @@ -659,7 +659,8 @@ c = bs->step_over_gc_barrier(c); CallNode* call = NULL; - if (c != NULL && c->is_Region()) { + guarantee(c != NULL, "step_over_gc_barrier failed, there must be something to step to."); + if (c->is_Region()) { for (uint i = 1; i < c->req(); i++) { if (c->in(i) != NULL) { Node* n = c->in(i)->in(0);