1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Remove dead store.

llvm-svn: 92192
This commit is contained in:
Bill Wendling 2009-12-28 01:54:15 +00:00
parent 32467ad0f7
commit 3f3f9a1bc8

View File

@ -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.