summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/CodeGeneratorBug.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-14 21:09:11 +0000
committerChris Lattner <sabre@nondot.org>2003-10-14 21:09:11 +0000
commitf8a84dbff3828465d4972ee34a60ed3aecdabb2e (patch)
treef27e295d800e2018a44a082de06014d369407154 /llvm/tools/bugpoint/CodeGeneratorBug.cpp
parent74d64c7d021dbb0bcecbb0b8d40ebe852d613d59 (diff)
downloadbcm5719-llvm-f8a84dbff3828465d4972ee34a60ed3aecdabb2e.tar.gz
bcm5719-llvm-f8a84dbff3828465d4972ee34a60ed3aecdabb2e.zip
The return value of compileSharedObject was never used. Return the shared
object's name instead llvm-svn: 9120
Diffstat (limited to 'llvm/tools/bugpoint/CodeGeneratorBug.cpp')
-rw-r--r--llvm/tools/bugpoint/CodeGeneratorBug.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/CodeGeneratorBug.cpp b/llvm/tools/bugpoint/CodeGeneratorBug.cpp
index 28e3b9111ac..b7757097019 100644
--- a/llvm/tools/bugpoint/CodeGeneratorBug.cpp
+++ b/llvm/tools/bugpoint/CodeGeneratorBug.cpp
@@ -225,8 +225,7 @@ bool ReduceMisCodegenFunctions::TestFuncs(const std::vector<Function*> &Funcs,
}
// Make a shared library
- std::string SharedObject;
- BD.compileSharedObject(SafeModuleBC, SharedObject);
+ std::string SharedObject = compileSharedObject(SafeModuleBC);
delete SafeModule;
delete TestModule;
OpenPOWER on IntegriCloud