aboutsummaryrefslogtreecommitdiff
path: root/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
commita0f5b15e1eb8642d92b3141a6b88a5729ea979dc (patch)
treeb0656b9b29ae1e9d9460150a407bc79d5bec257d /tools/bugpoint/CodeGeneratorBug.cpp
parent1798e4ade88c1fccfc290846f588c1d1261a5299 (diff)
The return value of compileSharedObject was never used. Return the shared
object's name instead git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/CodeGeneratorBug.cpp')
-rw-r--r--tools/bugpoint/CodeGeneratorBug.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/bugpoint/CodeGeneratorBug.cpp b/tools/bugpoint/CodeGeneratorBug.cpp
index 28e3b9111a..b775709701 100644
--- a/tools/bugpoint/CodeGeneratorBug.cpp
+++ b/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;