mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 13:46:13 +00:00
Remove an unnecessary cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136609 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4f2d6950fb
commit
b899d95933
@ -880,7 +880,7 @@ bool AsmPrinter::doFinalization(Module &M) {
|
||||
I != E; ++I) {
|
||||
MCSymbol *Name = Mang->getSymbol(I);
|
||||
|
||||
const GlobalValue *GV = cast<GlobalValue>(I->getAliasedGlobal());
|
||||
const GlobalValue *GV = I->getAliasedGlobal();
|
||||
MCSymbol *Target = Mang->getSymbol(GV);
|
||||
|
||||
if (I->hasExternalLinkage() || !MAI->getWeakRefDirective())
|
||||
|
Loading…
Reference in New Issue
Block a user