8073624: Fix waring "converting to non-pointer type 'bool' from NULL" in arraycopynode.cpp

Reviewed-by: roland
This commit is contained in:
Volker Simonis 2015-02-23 10:32:17 +01:00
parent 37cfc9fb6d
commit 3f7a17902e

View file

@ -455,7 +455,7 @@ bool ArrayCopyNode::finish_transform(PhaseGVN *phase, bool can_reshape,
if (in(TypeFunc::Control) != ctl) { if (in(TypeFunc::Control) != ctl) {
// we can't return new memory and control from Ideal at parse time // we can't return new memory and control from Ideal at parse time
assert(!is_clonebasic(), "added control for clone?"); assert(!is_clonebasic(), "added control for clone?");
return NULL; return false;
} }
} }
return true; return true;