summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Attributes.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-16 05:57:28 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-16 05:57:28 +0000
commit147ee8e34f55af597f9932726f8bc32679490036 (patch)
treee3029f32856d96db7667d0ec7a565170b7554f3f /llvm/lib/VMCore/Attributes.cpp
parent3ffbac4432012fdf7a3cd28790b76afb2fc51944 (diff)
downloadbcm5719-llvm-147ee8e34f55af597f9932726f8bc32679490036.tar.gz
bcm5719-llvm-147ee8e34f55af597f9932726f8bc32679490036.zip
Have AttributesImpl defriend the Attributes class.
llvm-svn: 166012
Diffstat (limited to 'llvm/lib/VMCore/Attributes.cpp')
-rw-r--r--llvm/lib/VMCore/Attributes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Attributes.cpp b/llvm/lib/VMCore/Attributes.cpp
index 393eab0eef8..cf8a89571a1 100644
--- a/llvm/lib/VMCore/Attributes.cpp
+++ b/llvm/lib/VMCore/Attributes.cpp
@@ -88,7 +88,7 @@ unsigned Attributes::getStackAlignment() const {
}
uint64_t Attributes::Raw() const {
- return Attrs ? Attrs->Bits : 0; // FIXME: Don't access this directly!
+ return Attrs ? Attrs->Raw() : 0;
}
Attributes Attributes::typeIncompatible(Type *Ty) {
OpenPOWER on IntegriCloud