mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-18 17:39:04 +00:00
Remove dead method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173524 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8e47daf285
commit
483bbd36b8
@ -336,10 +336,6 @@ public:
|
||||
/// \brief Return the attributes at the given slot.
|
||||
AttributeSet getSlotAttributes(unsigned Slot) const;
|
||||
|
||||
/// \brief Return the AttributeWithIndex at the specified slot. This holds a
|
||||
/// index number plus a set of attributes.
|
||||
const AttributeWithIndex &getSlot(unsigned Slot) const;
|
||||
|
||||
void dump() const;
|
||||
};
|
||||
|
||||
|
@ -649,14 +649,6 @@ AttributeSet AttributeSet::getSlotAttributes(unsigned Slot) const {
|
||||
return AttrList->getSlotAttributes(Slot);
|
||||
}
|
||||
|
||||
/// getSlot - Return the AttributeWithIndex at the specified slot. This
|
||||
/// holds a number plus a set of attributes.
|
||||
const AttributeWithIndex &AttributeSet::getSlot(unsigned Slot) const {
|
||||
assert(AttrList && Slot < AttrList->getNumAttributes() &&
|
||||
"Slot # out of range!");
|
||||
return AttrList->getAttributes()[Slot];
|
||||
}
|
||||
|
||||
bool AttributeSet::hasAttribute(unsigned Index, Attribute::AttrKind Kind) const{
|
||||
return getAttributes(Index).hasAttribute(Kind);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user