Uniquify the AttributeImpl based on the Constant pointer, since those are
[oota-llvm.git] / lib / VMCore / Attributes.cpp
index ad1af45f855f1173f0287aa6a0bcdb475872250a..a1e0856971de1a3cd6be326f65b557259683a4c2 100644 (file)
@@ -363,10 +363,6 @@ uint64_t AttributeImpl::getStackAlignment() const {
   return getBitMask() & getAttrMask(Attribute::StackAlignment);
 }
 
-void AttributeImpl::Profile(FoldingSetNodeID &ID, Constant *Data) {
-  ID.AddInteger(cast<ConstantInt>(Data)->getZExtValue());
-}
-
 //===----------------------------------------------------------------------===//
 // AttributeSetImpl Definition
 //===----------------------------------------------------------------------===//