summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-23 19:06:01 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-23 19:06:01 +0000
commite8fa95f628879a39dca70c989db9da8db7857211 (patch)
tree808c00fff76a8bd1bf6482dd82ea61a936a4c46c
parentbfd73d74b9f8aa92dd71994a5a19794b7ca4fb01 (diff)
downloadbcm5719-llvm-e8fa95f628879a39dca70c989db9da8db7857211.tar.gz
bcm5719-llvm-e8fa95f628879a39dca70c989db9da8db7857211.zip
Remove unused methods and ivars.
llvm-svn: 173284
-rw-r--r--llvm/include/llvm/IR/Attributes.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h
index 813718fdf77..6ba9c4c55e0 100644
--- a/llvm/include/llvm/IR/Attributes.h
+++ b/llvm/include/llvm/IR/Attributes.h
@@ -351,10 +351,7 @@ public:
/// an index.
struct AttributeWithIndex {
Attribute Attrs; ///< The attributes that are set, or'd together.
- Constant *Val; ///< Value attached to attribute, e.g. alignment.
unsigned Index; ///< Index of the parameter for which the attributes apply.
- ///< Index 0 is used for return value attributes.
- ///< Index ~0U is used for function attributes.
// FIXME: These methods all need to be revised. The first one is temporary.
static AttributeWithIndex get(LLVMContext &C, unsigned Idx, AttributeSet AS);
@@ -366,14 +363,6 @@ struct AttributeWithIndex {
AttributeWithIndex P;
P.Index = Idx;
P.Attrs = Attrs;
- P.Val = 0;
- return P;
- }
- static AttributeWithIndex get(unsigned Idx, Attribute Attrs, Constant *Val) {
- AttributeWithIndex P;
- P.Index = Idx;
- P.Attrs = Attrs;
- P.Val = Val;
return P;
}
};
OpenPOWER on IntegriCloud