summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Attributes.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-24 01:01:34 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-24 01:01:34 +0000
commit39a4c8057016c24d405b2f47d0f29364fa72e2dc (patch)
treedc19c312502e88b93c4ebaf58c53fb3da6e939f1 /llvm/lib/IR/Attributes.cpp
parent164a4fbb5b99aadf060d9c96d74e5d60d369ee04 (diff)
downloadbcm5719-llvm-39a4c8057016c24d405b2f47d0f29364fa72e2dc.tar.gz
bcm5719-llvm-39a4c8057016c24d405b2f47d0f29364fa72e2dc.zip
Add a profile for uniquifying the AttributeSet with the AttributeSetNodes.
llvm-svn: 173313
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
-rw-r--r--llvm/lib/IR/Attributes.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp
index 8623b98b9f6..8ee7057c196 100644
--- a/llvm/lib/IR/Attributes.cpp
+++ b/llvm/lib/IR/Attributes.cpp
@@ -99,11 +99,6 @@ bool Attribute::operator<(Attribute A) const {
return *pImpl < *A.pImpl;
}
-
-void Attribute::Profile(FoldingSetNodeID &ID) const {
- ID.AddPointer(pImpl);
-}
-
uint64_t Attribute::Raw() const {
return pImpl ? pImpl->Raw() : 0;
}
OpenPOWER on IntegriCloud