diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-09-20 16:59:57 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-09-20 16:59:57 +0000 |
commit | 4aa189909a194b4b858aefa0c186fa6504845bfd (patch) | |
tree | b90e4e6e867110dbb787064518af32b70aa5c1d7 /lib/AsmParser | |
parent | f2e89e00b4c4ecfa5a092a479ccab1ed8677eede (diff) | |
download | external_llvm-4aa189909a194b4b858aefa0c186fa6504845bfd.zip external_llvm-4aa189909a194b4b858aefa0c186fa6504845bfd.tar.gz external_llvm-4aa189909a194b4b858aefa0c186fa6504845bfd.tar.bz2 |
Revert r164308 to fix buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser')
-rw-r--r-- | lib/AsmParser/LLParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index c1d5272..2e4af3a 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/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 = FuncAttrs.getAlignment(); + Alignment = Attribute::getAlignmentFromAttrs(FuncAttrs); FuncAttrs &= ~Attribute::Alignment; } |