From: Benjamin Kramer Date: Mon, 12 Apr 2010 12:22:19 +0000 (+0000) Subject: Boolify. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=2706387d37b30fc191c5b74987dc139e1835c52d Boolify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101035 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index 96aab95a5ba..6af1f6a57ee 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/tools/bugpoint/Miscompilation.cpp @@ -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.