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:
2330a24
)
Remove unreachable code.
author
Rui Ueyama
<ruiu@google.com>
Tue, 4 Dec 2018 19:00:56 +0000
(19:00 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Tue, 4 Dec 2018 19:00:56 +0000
(19:00 +0000)
llvm-svn: 348294
lld/ELF/Arch/PPC64.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Arch/PPC64.cpp
b/lld/ELF/Arch/PPC64.cpp
index
747c873
..
259ebf7
100644
(file)
--- a/
lld/ELF/Arch/PPC64.cpp
+++ b/
lld/ELF/Arch/PPC64.cpp
@@
-741,7
+741,6
@@
bool PPC64::inBranchRange(RelType Type, uint64_t Src, uint64_t Dst) const {
if (Type == R_PPC64_REL24)
return isInt<26>(Offset);
llvm_unreachable("unsupported relocation type used in branch");
- return false;
}
RelExpr PPC64::adjustRelaxExpr(RelType Type, const uint8_t *Data,