projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52ef401
)
[ELF] - Merged 2 lines. NFC.
author
George Rimar
<grimar@accesssoftek.com>
Tue, 26 Jul 2016 17:01:18 +0000
(17:01 +0000)
committer
George Rimar
<grimar@accesssoftek.com>
Tue, 26 Jul 2016 17:01:18 +0000
(17:01 +0000)
llvm-svn: 276768
lld/ELF/LinkerScript.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/LinkerScript.cpp
b/lld/ELF/LinkerScript.cpp
index
c7219f6
..
9e4ec94
100644
(file)
--- 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("(");