Boolify.
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 12 Apr 2010 12:22:19 +0000 (12:22 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 12 Apr 2010 12:22:19 +0000 (12:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101035 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/Miscompilation.cpp

index 96aab95a5baad06f60922c26f72997afbc16f52c..6af1f6a57eeb3dc6c1d37ec600a00866f06752fe 100644 (file)
@@ -909,7 +909,7 @@ static bool TestCodeGenerator(BugDriver &BD, Module *Test, Module *Safe,
   }
   std::string SharedObject = BD.compileSharedObject(SafeModuleBC.str(), Error);
   if (!Error.empty())
-    return -1;
+    return false;
   delete Safe;
 
   // Run the code generator on the `Test' code, loading the shared library.