summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CppBackend/CPPBackend.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/Target/CppBackend/CPPBackend.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/Target/CppBackend/CPPBackend.cpp')
-rw-r--r--llvm/lib/Target/CppBackend/CPPBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp
index 444da2bb21e..4ddcd38aca6 100644
--- a/llvm/lib/Target/CppBackend/CPPBackend.cpp
+++ b/llvm/lib/Target/CppBackend/CPPBackend.cpp
@@ -508,7 +508,7 @@ void CppWriter::printAttributes(const AttrListPtr &PAL,
#undef HANDLE_ATTR
if (attrs & Attribute::StackAlignment)
Out << " | Attribute::constructStackAlignmentFromInt("
- << attrs.getStackAlignment()
+ << Attribute::getStackAlignmentFromAttrs(attrs)
<< ")";
attrs &= ~Attribute::StackAlignment;
assert(attrs == 0 && "Unhandled attribute!");
OpenPOWER on IntegriCloud