From a0f5b15e1eb8642d92b3141a6b88a5729ea979dc Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 14 Oct 2003 21:09:11 +0000 Subject: 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 --- tools/bugpoint/CodeGeneratorBug.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools/bugpoint/CodeGeneratorBug.cpp') 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 &Funcs, } // Make a shared library - std::string SharedObject; - BD.compileSharedObject(SafeModuleBC, SharedObject); + std::string SharedObject = compileSharedObject(SafeModuleBC); delete SafeModule; delete TestModule; -- cgit v1.2.3-70-g09d2