changeset 7819:122b9c0f6a86

8071533: assert(n0->is_Call()) failed: expect a call here Summary: remove_dead_region() call missing from ArrayCopyNode::Ideal() Reviewed-by: kvn, vlivanov
author roland
date Fri, 30 Jan 2015 15:23:41 +0100
parents b554e929f7a7
children 94ec81ddd4ec
files src/share/vm/opto/callnode.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/callnode.cpp	Fri Jan 30 20:45:18 2015 +0300
+++ b/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;