mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-02 13:21:43 +00:00
Remove dead store.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92192 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
abeca44d63
commit
e90c545aeb
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user