8073624: Fix waring "converting to non-pointer type 'bool' from NULL" in arraycopynode.cpp
authorsimonis
Mon, 23 Feb 2015 10:32:17 +0100
changeset 29340 e5ee51840b93
parent 29339 f0b1b7788a51
child 29342 a7f66737bf1d
8073624: Fix waring "converting to non-pointer type 'bool' from NULL" in arraycopynode.cpp Reviewed-by: roland
hotspot/src/share/vm/opto/arraycopynode.cpp
--- a/hotspot/src/share/vm/opto/arraycopynode.cpp	Mon Feb 23 10:38:26 2015 +0100
+++ b/hotspot/src/share/vm/opto/arraycopynode.cpp	Mon Feb 23 10:32:17 2015 +0100
@@ -455,7 +455,7 @@
     if (in(TypeFunc::Control) != ctl) {
       // we can't return new memory and control from Ideal at parse time
       assert(!is_clonebasic(), "added control for clone?");
-      return NULL;
+      return false;
     }
   }
   return true;