mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-20 12:31:40 +00:00
Remove dead methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165902 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7be7848e17
commit
e82a040ee0
@ -224,9 +224,6 @@ public:
|
||||
hasAttribute(Attributes::AddressSafety);
|
||||
}
|
||||
|
||||
bool isEmptyOrSingleton() const;
|
||||
|
||||
// This is a "safe bool() operator".
|
||||
bool operator == (const Attributes &A) const {
|
||||
return Attrs.Bits == A.Attrs.Bits;
|
||||
}
|
||||
|
@ -36,8 +36,6 @@ public:
|
||||
uint64_t getAlignment() const;
|
||||
uint64_t getStackAlignment() const;
|
||||
|
||||
bool isEmptyOrSingleton() const;
|
||||
|
||||
static uint64_t getAttrMask(uint64_t Val);
|
||||
|
||||
void Profile(FoldingSetNodeID &ID) const {
|
||||
|
@ -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
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
x
Reference in New Issue
Block a user