From 483bbd36b8b3f87073feea2e1096f188d0e735b8 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 25 Jan 2013 23:14:36 +0000 Subject: Remove dead method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173524 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/Attributes.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib/IR') diff --git a/lib/IR/Attributes.cpp b/lib/IR/Attributes.cpp index f44a0fc..45f8184 100644 --- a/lib/IR/Attributes.cpp +++ b/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); } -- cgit v1.1