diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-09-20 16:27:05 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-09-20 16:27:05 +0000 |
commit | abac66150cd9b8a16865db399a930e823206b3b7 (patch) | |
tree | 66628d86787a240e890ed9c86a66278f97979d65 /llvm/lib/AsmParser/LLParser.cpp | |
parent | b4e211cd19201d2b344f40123411e2529806f6c0 (diff) | |
download | bcm5719-llvm-abac66150cd9b8a16865db399a930e823206b3b7.tar.gz bcm5719-llvm-abac66150cd9b8a16865db399a930e823206b3b7.zip |
Make the 'get*AlignmentFromAttr' functions into member functions within the Attributes class.
llvm-svn: 164308
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r-- | llvm/lib/AsmParser/LLParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp index 2e4af3abb76..c1d5272ca50 100644 --- a/llvm/lib/AsmParser/LLParser.cpp +++ b/llvm/lib/AsmParser/LLParser.cpp @@ -2717,7 +2717,7 @@ bool LLParser::ParseFunctionHeader(Function *&Fn, bool isDefine) { // If the alignment was parsed as an attribute, move to the alignment field. if (FuncAttrs & Attribute::Alignment) { - Alignment = Attribute::getAlignmentFromAttrs(FuncAttrs); + Alignment = FuncAttrs.getAlignment(); FuncAttrs &= ~Attribute::Alignment; } |