mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-13 11:30:21 +00:00
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:
parent
f0edaf8e00
commit
c6cd4955cd
@ -72,7 +72,6 @@ public:
|
|||||||
Linker(Module *M);
|
Linker(Module *M);
|
||||||
|
|
||||||
Module *getModule() const { return Composite; }
|
Module *getModule() const { return Composite; }
|
||||||
void deleteModule();
|
|
||||||
|
|
||||||
/// \brief Link \p Src into the composite. The source is destroyed.
|
/// \brief Link \p Src into the composite. The source is destroyed.
|
||||||
/// Passing OverrideSymbols as true will have symbols from Src
|
/// Passing OverrideSymbols as true will have symbols from Src
|
||||||
|
@ -2051,11 +2051,6 @@ Linker::Linker(Module *M)
|
|||||||
Composite->getContext().diagnose(DI);
|
Composite->getContext().diagnose(DI);
|
||||||
}) {}
|
}) {}
|
||||||
|
|
||||||
void Linker::deleteModule() {
|
|
||||||
delete Composite;
|
|
||||||
Composite = nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Linker::linkInModule(Module *Src, unsigned Flags,
|
bool Linker::linkInModule(Module *Src, unsigned Flags,
|
||||||
const FunctionInfoIndex *Index,
|
const FunctionInfoIndex *Index,
|
||||||
Function *FuncToImport) {
|
Function *FuncToImport) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user