From 4509a4f52a696954c3fe9306c09816fc374e39ce Mon Sep 17 00:00:00 2001 From: George Rimar Date: Tue, 26 Jul 2016 17:01:18 +0000 Subject: [PATCH] [ELF] - Merged 2 lines. NFC. llvm-svn: 276768 --- lld/ELF/LinkerScript.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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("("); -- 2.7.4