projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abeca44
)
Remove dead store.
author
Bill Wendling
<isanbard@gmail.com>
Mon, 28 Dec 2009 01:54:15 +0000
(
01:54
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Mon, 28 Dec 2009 01:54:15 +0000
(
01:54
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92192
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Linker/LinkModules.cpp
patch
|
blob
|
history
diff --git
a/lib/Linker/LinkModules.cpp
b/lib/Linker/LinkModules.cpp
index 8ece835bfe7702822a742c0f262784a14e2f3b0e..1f9dc411cc5db5a469e42eba43e52fb7095086aa 100644
(file)
--- 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.