projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Delete dead code.
[oota-llvm.git]
/
lib
/
Linker
/
LinkModules.cpp
diff --git
a/lib/Linker/LinkModules.cpp
b/lib/Linker/LinkModules.cpp
index 9aff43f319907eded8a584c356fddf369b87e3fa..7ba622f6ee1d34460cabb9380a2d71e710f299bf 100644
(file)
--- a/
lib/Linker/LinkModules.cpp
+++ b/
lib/Linker/LinkModules.cpp
@@
-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) {