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 | e63adc5476cf57d878c9560a44db3df3c1fe5005 (patch) | |
| tree | 2c79368ea9ca45afe2f9170272bd228aa8713c03 /clang/lib | |
| parent | 89442efddc3843573564ba39eba7603294fe7806 (diff) | |
| download | bcm5719-llvm-e63adc5476cf57d878c9560a44db3df3c1fe5005.tar.gz bcm5719-llvm-e63adc5476cf57d878c9560a44db3df3c1fe5005.zip | |
Update for encapsulating the "construct*AlignmentFromInt" methods.
llvm-svn: 164374
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 2 | ||||
| -rw-r--r-- | clang/lib/CodeGen/TargetInfo.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index 95bee4bd5a4..bdc0d855e07 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/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); diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp index 909a6e858b2..419ce022e55 100644 --- a/clang/lib/CodeGen/TargetInfo.cpp +++ b/clang/lib/CodeGen/TargetInfo.cpp @@ -968,7 +968,7 @@ void X86_32TargetCodeGenInfo::SetTargetAttributes(const Decl *D, llvm::Function *Fn = cast<llvm::Function>(GV); // Now add the 'alignstack' attribute with a value of 16. - Fn->addFnAttr(llvm::Attribute::constructStackAlignmentFromInt(16)); + Fn->addFnAttr(llvm::Attributes::constructStackAlignmentFromInt(16)); } } } |

