Delete dead code.
[oota-llvm.git] / lib / Linker / LinkModules.cpp
index 9aff43f319907eded8a584c356fddf369b87e3fa..7ba622f6ee1d34460cabb9380a2d71e710f299bf 100644 (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) {