mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Trivial simplification. No functionality change.
llvm-svn: 207967
This commit is contained in:
parent
3a7555adfc
commit
3f55efbe16
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user