aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-09-20 16:59:57 +0000
committerBill Wendling <isanbard@gmail.com>2012-09-20 16:59:57 +0000
commit4aa189909a194b4b858aefa0c186fa6504845bfd (patch)
treeb90e4e6e867110dbb787064518af32b70aa5c1d7 /lib/AsmParser
parentf2e89e00b4c4ecfa5a092a479ccab1ed8677eede (diff)
downloadexternal_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.cpp2
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;
}