summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Attributes.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-25 23:14:36 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-25 23:14:36 +0000
commit0170cc7523efd381d9119f9bba8684e334a50f7c (patch)
tree01445b373a370e0d77bb4df60576bec6df3da334 /llvm/lib/IR/Attributes.cpp
parent96568f91cd63529812dabb38f7928a5d2e98edd1 (diff)
downloadbcm5719-llvm-0170cc7523efd381d9119f9bba8684e334a50f7c.tar.gz
bcm5719-llvm-0170cc7523efd381d9119f9bba8684e334a50f7c.zip
Remove dead method.
llvm-svn: 173524
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
-rw-r--r--llvm/lib/IR/Attributes.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp
index f44a0fc7419..45f81844a17 100644
--- a/llvm/lib/IR/Attributes.cpp
+++ b/llvm/lib/IR/Attributes.cpp
@@ -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);
}
OpenPOWER on IntegriCloud