summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-09-21 16:07:28 +0000
committerBill Wendling <isanbard@gmail.com>2012-09-21 16:07:28 +0000
commit89442efddc3843573564ba39eba7603294fe7806 (patch)
tree6e7cc7615c74f45b5f41fee8a21e36ba2db77645 /llvm/lib/AsmParser/LLParser.cpp
parent7325a9d08e76f409e83eb34bba43203e628340aa (diff)
downloadbcm5719-llvm-89442efddc3843573564ba39eba7603294fe7806.tar.gz
bcm5719-llvm-89442efddc3843573564ba39eba7603294fe7806.zip
Encapsulate the "construct*AlignmentFromInt" functions.
llvm-svn: 164373
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index c1d5272ca50..eedec8383a5 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/lib/AsmParser/LLParser.cpp
@@ -967,7 +967,7 @@ bool LLParser::ParseOptionalAttrs(Attributes &Attrs, unsigned AttrKind) {
unsigned Alignment;
if (ParseOptionalStackAlignment(Alignment))
return true;
- Attrs |= Attribute::constructStackAlignmentFromInt(Alignment);
+ Attrs |= Attributes::constructStackAlignmentFromInt(Alignment);
continue;
}
@@ -975,7 +975,7 @@ bool LLParser::ParseOptionalAttrs(Attributes &Attrs, unsigned AttrKind) {
unsigned Alignment;
if (ParseOptionalAlignment(Alignment))
return true;
- Attrs |= Attribute::constructAlignmentFromInt(Alignment);
+ Attrs |= Attributes::constructAlignmentFromInt(Alignment);
continue;
}
OpenPOWER on IntegriCloud