diff options
| author | Bill Wendling <isanbard@gmail.com> | 2009-12-28 01:54:15 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2009-12-28 01:54:15 +0000 |
| commit | c174cea62774232369726c7aa22f24033be4b7aa (patch) | |
| tree | a0ced4a4cbb6fd1aafbffd64bdd6ec2e1c12ff41 /lib/Linker | |
| parent | 6a60faeb70fdcc9fcdb07f6bdb74904e0aeb8478 (diff) | |
| download | external_llvm-c174cea62774232369726c7aa22f24033be4b7aa.zip external_llvm-c174cea62774232369726c7aa22f24033be4b7aa.tar.gz external_llvm-c174cea62774232369726c7aa22f24033be4b7aa.tar.bz2 | |
Remove dead store.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker')
| -rw-r--r-- | lib/Linker/LinkModules.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index 8ece835..1f9dc41 100644 --- a/lib/Linker/LinkModules.cpp +++ b/lib/Linker/LinkModules.cpp @@ -664,7 +664,6 @@ static bool LinkGlobals(Module *Dest, const Module *Src, Var->eraseFromParent(); else cast<Function>(DGV)->eraseFromParent(); - DGV = NewDGV; // If the symbol table renamed the global, but it is an externally visible // symbol, DGV must be an existing global with internal linkage. Rename. |
