diff options
Diffstat (limited to 'lib/IR/Attributes.cpp')
-rw-r--r-- | lib/IR/Attributes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/IR/Attributes.cpp b/lib/IR/Attributes.cpp index 01a59a33c0..cdea3500bb 100644 --- a/lib/IR/Attributes.cpp +++ b/lib/IR/Attributes.cpp @@ -509,8 +509,8 @@ void AttributeImpl::setStackAlignment(unsigned Align) { Vals.push_back(ConstantInt::get(Type::getInt64Ty(Context), Align)); } -void Profile(FoldingSetNodeID &ID, Constant *Data, - ArrayRef<Constant*> Vals) { +void AttributeImpl::Profile(FoldingSetNodeID &ID, Constant *Data, + ArrayRef<Constant*> Vals) { ID.AddInteger(cast<ConstantInt>(Data)->getZExtValue()); for (ArrayRef<Constant*>::iterator I = Vals.begin(), E = Vals.end(); I != E; ++I) |