[cfe-commits] r83328 - /cfe/trunk/lib/CodeGen/CodeGenModule.cpp
Chris Lattner
clattner at apple.com
Mon Oct 5 15:22:38 PDT 2009
On Oct 5, 2009, at 3:17 PM, Eric Christopher wrote:
>>
>> if (D->hasAttr<NoInlineAttr>())
>> F->addFnAttr(llvm::Attribute::NoInline);
>> +
>> + if (const AlignedAttr *AA = D->getAttr<AlignedAttr>())
>> + F->setAlignment(AA->getAlignment()/8);
>
> 8 is a bit opaque, perhaps a BITS_PER_UNIT or some such?
So long as it is guaranteed to be 8. Does AlignedAttr really maintain
its alignment in bits??
-Chris
More information about the cfe-commits
mailing list