8071533: assert(n0->is_Call()) failed: expect a call here
authorroland
Fri, 30 Jan 2015 15:23:41 +0100
changeset 28930 dcf13bceeafd
parent 28929 853493ff65e5
child 28931 be05cb66f438
8071533: assert(n0->is_Call()) failed: expect a call here Summary: remove_dead_region() call missing from ArrayCopyNode::Ideal() Reviewed-by: kvn, vlivanov
hotspot/src/share/vm/opto/callnode.cpp
--- 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;