summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.cpp
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
commitc727bacb38208be6af9c4701f12f0cd3008a7f22 (patch)
treed10eaa961d574429d0519980b250fef7f9ee749b /llvm/lib/AsmParser/LLParser.cpp
parentabac66150cd9b8a16865db399a930e823206b3b7 (diff)
downloadbcm5719-llvm-c727bacb38208be6af9c4701f12f0cd3008a7f22.tar.gz
bcm5719-llvm-c727bacb38208be6af9c4701f12f0cd3008a7f22.zip
Revert r164308 to fix buildbots.
llvm-svn: 164309
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index c1d5272ca50..2e4af3abb76 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 = FuncAttrs.getAlignment();
+ Alignment = Attribute::getAlignmentFromAttrs(FuncAttrs);
FuncAttrs &= ~Attribute::Alignment;
}
OpenPOWER on IntegriCloud