commit | 4509a4f52a696954c3fe9306c09816fc374e39ce | [log] [tgz] |
---|---|---|
author | George Rimar <grimar@accesssoftek.com> | Tue Jul 26 17:01:18 2016 +0000 |
committer | George Rimar <grimar@accesssoftek.com> | Tue Jul 26 17:01:18 2016 +0000 |
tree | 52eb81b85bcb50b4c0170017a8edd432325cca56 | |
parent | 52ef4019fd7f1300812dd73c2c1c755319891097 [diff] [blame] |
[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 @@ 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("(");