8071533: assert(n0->is_Call()) failed: expect a call here

Remove_dead_region() call missing from ArrayCopyNode::Ideal()

Reviewed-by: kvn, vlivanov
This commit is contained in:
Roland Westrelin 2015-01-30 15:23:41 +01:00
parent fb0bdf6a4b
commit 43bcdf4017

View File

@ -1982,6 +1982,7 @@ bool ArrayCopyNode::finish_transform(PhaseGVN *phase, bool can_reshape,
Node *ArrayCopyNode::Ideal(PhaseGVN *phase, bool can_reshape) {
if (remove_dead_region(phase, can_reshape)) return this;
if (StressArrayCopyMacroNode && !can_reshape) return NULL;