1
0
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:
Rafael Espindola 2014-05-05 14:18:16 +00:00
parent 3a7555adfc
commit 3f55efbe16

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