diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-09-21 16:07:49 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-09-21 16:07:49 +0000 |
commit | db9eeb88d8e63a28f0b7d623011ec286a84f68a3 (patch) | |
tree | f4843bf1fe9d2f79c7b083005114d31b1b01ed51 /lib/CodeGen/CGCall.cpp | |
parent | 1cc9a80f8df979d5ff26739ebf3c134c4e6a4ed0 (diff) |
Update for encapsulating the "construct*AlignmentFromInt" methods.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r-- | lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index 95bee4bd5a..bdc0d855e0 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -1043,7 +1043,7 @@ void CodeGenModule::ConstructAttributeList(const CGFunctionInfo &FI, Attrs |= llvm::Attribute::ByVal; Attrs |= - llvm::Attribute::constructAlignmentFromInt(AI.getIndirectAlign()); + llvm::Attributes::constructAlignmentFromInt(AI.getIndirectAlign()); // byval disables readnone and readonly. FuncAttrs &= ~(llvm::Attribute::ReadOnly | llvm::Attribute::ReadNone); |