diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-16 05:57:28 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-16 05:57:28 +0000 |
commit | 925bcb132a79f0bdd22c207adea0a01e80d2218a (patch) | |
tree | 6c2364fad8b42ba74c89532fc3d11e44db941248 /lib/VMCore/Attributes.cpp | |
parent | a5c699d5f7de7eb88b7f549539b6550653dea74e (diff) | |
download | llvm-925bcb132a79f0bdd22c207adea0a01e80d2218a.tar.gz llvm-925bcb132a79f0bdd22c207adea0a01e80d2218a.tar.bz2 llvm-925bcb132a79f0bdd22c207adea0a01e80d2218a.tar.xz |
Have AttributesImpl defriend the Attributes class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Attributes.cpp')
-rw-r--r-- | lib/VMCore/Attributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Attributes.cpp b/lib/VMCore/Attributes.cpp index 393eab0eef..cf8a89571a 100644 --- a/lib/VMCore/Attributes.cpp +++ b/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) { |