diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-05-28 18:40:38 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-05-28 18:40:38 +0000 |
| commit | 8b972d221e9f4afb18c03bd87e78778dec2f87e9 (patch) | |
| tree | 961e3bf66828d88acefba07d3854c9a1d28db547 | |
| parent | c165c889ab7c77c0467885ac33729b5b04cf6c71 (diff) | |
| download | bcm5719-llvm-8b972d221e9f4afb18c03bd87e78778dec2f87e9.tar.gz bcm5719-llvm-8b972d221e9f4afb18c03bd87e78778dec2f87e9.zip | |
Simplify. NFC.
llvm-svn: 271133
| -rw-r--r-- | lld/ELF/InputSection.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index bcdf5b4ff79..49a2c1b625a 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -544,8 +544,7 @@ typename ELFT::uint MergeInputSection<ELFT>::getOffset(uintX_t Offset) { SectionPiece &Piece = *this->getSectionPiece(Offset); assert(Piece.Live); uintX_t Addend = Offset - Piece.InputOff; - uintX_t Ret = Piece.OutputOff + Addend; - return Ret; + return Piece.OutputOff + Addend; } // Create a map from input offsets to output offsets for all section pieces. |

