From: George Rimar Date: Tue, 26 Jul 2016 17:01:18 +0000 (+0000) Subject: [ELF] - Merged 2 lines. NFC. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4509a4f52a696954c3fe9306c09816fc374e39ce;p=platform%2Fupstream%2Fllvm.git [ELF] - Merged 2 lines. NFC. llvm-svn: 276768 --- diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index c7219f6..9e4ec94 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -811,10 +811,7 @@ Expr ScriptParser::readPrimary() { expect(","); readExpr(); expect(")"); - return [=](uint64_t Dot) -> uint64_t { - uint64_t Val = E(Dot); - return alignTo(Dot, Val); - }; + return [=](uint64_t Dot) -> uint64_t { return alignTo(Dot, E(Dot)); }; } if (Tok == "DATA_SEGMENT_END") { expect("(");