Remove unreachable code.
authorRui Ueyama <ruiu@google.com>
Tue, 4 Dec 2018 19:00:56 +0000 (19:00 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 4 Dec 2018 19:00:56 +0000 (19:00 +0000)
llvm-svn: 348294

lld/ELF/Arch/PPC64.cpp

index 747c873..259ebf7 100644 (file)
@@ -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,