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
This commit is contained in:
Chris Lattner
2003-10-14 21:09:11 +00:00
parent 1798e4ade8
commit a0f5b15e1e
3 changed files with 10 additions and 9 deletions

View File

@@ -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;