From: Bill Wendling Date: Mon, 28 Dec 2009 01:54:15 +0000 (+0000) Subject: Remove dead store. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e90c545aeb53bacdad1206bbceb72087c78a2283;p=oota-llvm.git Remove dead store. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92192 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index 8ece835bfe7..1f9dc411cc5 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(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.