[llvm-commits] [llvm] r92192 - /llvm/trunk/lib/Linker/LinkModules.cpp

Bill Wendling isanbard at gmail.com
Sun Dec 27 17:54:16 PST 2009


Author: void
Date: Sun Dec 27 19:54:15 2009
New Revision: 92192

URL: http://llvm.org/viewvc/llvm-project?rev=92192&view=rev
Log:
Remove dead store.

Modified:
    llvm/trunk/lib/Linker/LinkModules.cpp

Modified: llvm/trunk/lib/Linker/LinkModules.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Linker/LinkModules.cpp?rev=92192&r1=92191&r2=92192&view=diff

==============================================================================
--- llvm/trunk/lib/Linker/LinkModules.cpp (original)
+++ llvm/trunk/lib/Linker/LinkModules.cpp Sun Dec 27 19:54:15 2009
@@ -664,7 +664,6 @@
         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.





More information about the llvm-commits mailing list