projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e2967e
)
Remove unnecessary cast.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Mon, 21 Dec 2015 20:50:51 +0000
(20:50 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Mon, 21 Dec 2015 20:50:51 +0000
(20:50 +0000)
llvm-svn: 256196
lld/ELF/Writer.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Writer.cpp
b/lld/ELF/Writer.cpp
index
3d8dc09
..
db12ccb
100644
(file)
--- a/
lld/ELF/Writer.cpp
+++ b/
lld/ELF/Writer.cpp
@@
-1141,7
+1141,7
@@
template <class ELFT> void Writer<ELFT>::writeSections() {
template <class ELFT>
typename ELFFile<ELFT>::uintX_t Writer<ELFT>::getEntryAddr() const {
if (Config->EntrySym) {
- if (
auto *E = dyn_cast<ELFSymbolBody<ELFT>>(Config->EntrySym->repl()
))
+ if (
SymbolBody *E = Config->EntrySym->repl(
))
return getSymVA<ELFT>(*E);
return 0;
}