aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bugpoint
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-04-12 12:22:19 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-04-12 12:22:19 +0000
commit2706387d37b30fc191c5b74987dc139e1835c52d (patch)
treef76a3db1ece3fb8e6f67db435b551e5e007dfd41 /tools/bugpoint
parent678d9b7ed030dd79ed5ac749b0b21b6cb0859cd0 (diff)
downloadexternal_llvm-2706387d37b30fc191c5b74987dc139e1835c52d.zip
external_llvm-2706387d37b30fc191c5b74987dc139e1835c52d.tar.gz
external_llvm-2706387d37b30fc191c5b74987dc139e1835c52d.tar.bz2
Boolify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint')
-rw-r--r--tools/bugpoint/Miscompilation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp
index 96aab95..6af1f6a 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.