mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
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:
parent
07db1c9b30
commit
557a2754a5
@ -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