hotspot/src/share/vm/opto/callnode.cpp
changeset 28930 dcf13bceeafd
parent 28396 7fe4347e6792
child 29086 74100114a95a
--- 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;