summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-12-28 01:54:15 +0000
committerBill Wendling <isanbard@gmail.com>2009-12-28 01:54:15 +0000
commitd8dcdefb0ec64247a21bee16eae21d640c509d64 (patch)
tree5d9a76a60048cc382f7a674972a5ec20b9359587 /llvm
parent9bea533c8eaf0dd7b5ba3255592e5468de1e02f1 (diff)
downloadbcm5719-llvm-d8dcdefb0ec64247a21bee16eae21d640c509d64.tar.gz
bcm5719-llvm-d8dcdefb0ec64247a21bee16eae21d640c509d64.zip
Remove dead store.
llvm-svn: 92192
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index 8ece835bfe7..1f9dc411cc5 100644
--- a/llvm/lib/Linker/LinkModules.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud