mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
Make the 'get*AlignmentFromAttr' functions into member functions within the Attributes class. Now with fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164370 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -508,7 +508,7 @@ void CppWriter::printAttributes(const AttrListPtr &PAL,
|
||||
#undef HANDLE_ATTR
|
||||
if (attrs & Attribute::StackAlignment)
|
||||
Out << " | Attribute::constructStackAlignmentFromInt("
|
||||
<< Attribute::getStackAlignmentFromAttrs(attrs)
|
||||
<< attrs.getStackAlignment()
|
||||
<< ")";
|
||||
attrs &= ~Attribute::StackAlignment;
|
||||
assert(attrs == 0 && "Unhandled attribute!");
|
||||
|
Reference in New Issue
Block a user