Trivial simplification. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207967 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2014-05-05 14:18:16 +00:00
parent 07db1c9b30
commit 557a2754a5

View File

@ -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) {