8071533: assert(n0->is_Call()) failed: expect a call here
Summary: remove_dead_region() call missing from ArrayCopyNode::Ideal()
Reviewed-by: kvn, vlivanov
--- a/hotspot/src/share/vm/opto/callnode.cpp Fri Jan 30 20:45:18 2015 +0300
+++ b/hotspot/src/share/vm/opto/callnode.cpp Fri Jan 30 15:23:41 2015 +0100
@@ -1982,6 +1982,7 @@
Node *ArrayCopyNode::Ideal(PhaseGVN *phase, bool can_reshape) {
+ if (remove_dead_region(phase, can_reshape)) return this;
if (StressArrayCopyMacroNode && !can_reshape) return NULL;