Delete dead code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254436 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-12-01 18:50:35 +00:00
parent f0edaf8e00
commit c6cd4955cd
2 changed files with 0 additions and 6 deletions

View File

@ -72,7 +72,6 @@ public:
Linker(Module *M);
Module *getModule() const { return Composite; }
void deleteModule();
/// \brief Link \p Src into the composite. The source is destroyed.
/// Passing OverrideSymbols as true will have symbols from Src

View File

@ -2051,11 +2051,6 @@ Linker::Linker(Module *M)
Composite->getContext().diagnose(DI);
}) {}
void Linker::deleteModule() {
delete Composite;
Composite = nullptr;
}
bool Linker::linkInModule(Module *Src, unsigned Flags,
const FunctionInfoIndex *Index,
Function *FuncToImport) {