diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-14 09:21:44 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-14 09:21:44 +0000 |
commit | e82a040ee04e7340f3fc9a1d55213ed19167ba72 (patch) | |
tree | f34a0c7e357fd60db50d741f69398d4c8accd695 /lib/VMCore | |
parent | 7be7848e17f60825f5fbc177b8a25909a30ddb00 (diff) | |
download | external_llvm-e82a040ee04e7340f3fc9a1d55213ed19167ba72.zip external_llvm-e82a040ee04e7340f3fc9a1d55213ed19167ba72.tar.gz external_llvm-e82a040ee04e7340f3fc9a1d55213ed19167ba72.tar.bz2 |
Remove dead methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165902 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Attributes.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/VMCore/Attributes.cpp b/lib/VMCore/Attributes.cpp index f9957d6..15890f9 100644 --- a/lib/VMCore/Attributes.cpp +++ b/lib/VMCore/Attributes.cpp @@ -89,10 +89,6 @@ unsigned Attributes::getStackAlignment() const { return 1U << ((Attrs.getStackAlignment() >> 26) - 1); } -bool Attributes::isEmptyOrSingleton() const { - return Attrs.isEmptyOrSingleton(); -} - uint64_t Attributes::Raw() const { return Attrs.Bits; } @@ -317,10 +313,6 @@ uint64_t AttributesImpl::getStackAlignment() const { return Bits & getAttrMask(Attributes::StackAlignment); } -bool AttributesImpl::isEmptyOrSingleton() const { - return (Bits & (Bits - 1)) == 0; -} - //===----------------------------------------------------------------------===// // AttributeListImpl Definition //===----------------------------------------------------------------------===// |