[lld] r348294 - Remove unreachable code.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 4 11:00:56 PST 2018
Author: ruiu
Date: Tue Dec 4 11:00:56 2018
New Revision: 348294
URL: http://llvm.org/viewvc/llvm-project?rev=348294&view=rev
Log:
Remove unreachable code.
Modified:
lld/trunk/ELF/Arch/PPC64.cpp
Modified: lld/trunk/ELF/Arch/PPC64.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Arch/PPC64.cpp?rev=348294&r1=348293&r2=348294&view=diff
==============================================================================
--- lld/trunk/ELF/Arch/PPC64.cpp (original)
+++ lld/trunk/ELF/Arch/PPC64.cpp Tue Dec 4 11:00:56 2018
@@ -741,7 +741,6 @@ bool PPC64::inBranchRange(RelType Type,
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,
More information about the llvm-commits
mailing list