projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f2d695
)
Remove an unnecessary cast.
author
Jay Foad
<jay.foad@gmail.com>
Mon, 1 Aug 2011 12:27:15 +0000
(12:27 +0000)
committer
Jay Foad
<jay.foad@gmail.com>
Mon, 1 Aug 2011 12:27:15 +0000
(12:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136609
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 1297e108b8507a3eee8bf9f6ac94447f49cab1f8..42d042e2303b34fc123f9e88028ff87ffb454f02 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@
-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())