projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07db1c9
)
Trivial simplification. No functionality change.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Mon, 5 May 2014 14:18:16 +0000
(14:18 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Mon, 5 May 2014 14:18:16 +0000
(14:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207967
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/LTO/LTOModule.cpp
patch
|
blob
|
history
diff --git
a/lib/LTO/LTOModule.cpp
b/lib/LTO/LTOModule.cpp
index 1f60acbd473b52be082d534549bf0cdb325de290..b687f29c6598ae161687ce3a3548c587e8b14a42 100644
(file)
--- a/
lib/LTO/LTOModule.cpp
+++ b/
lib/LTO/LTOModule.cpp
@@
-396,7
+396,7
@@
void LTOModule::addDefinedSymbol(const GlobalValue *def, bool isFunction) {
// set alignment part log2() can have rounding errors
uint32_t align = def->getAlignment();
- uint32_t attr = align ? countTrailingZeros(
def->getAlignment()
) : 0;
+ uint32_t attr = align ? countTrailingZeros(
align
) : 0;
// set permissions part
if (isFunction) {