diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-09-21 15:26:31 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-09-21 15:26:31 +0000 |
commit | 9be7759ee11024c3611c5481bd0a889db76aad13 (patch) | |
tree | 7f5fea31e4256f1e58d316ff7fd439a531ac912b /llvm/lib/AsmParser/LLParser.cpp | |
parent | 736a4fc4fb535f4d7bc6f00124e8e391d2096c41 (diff) | |
download | bcm5719-llvm-9be7759ee11024c3611c5481bd0a889db76aad13.tar.gz bcm5719-llvm-9be7759ee11024c3611c5481bd0a889db76aad13.zip |
Make the 'get*AlignmentFromAttr' functions into member functions within the Attributes class. Now with fix.
llvm-svn: 164370
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; } |