summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-28 05:51:40 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-28 05:51:40 +0000
commit892711b0db173ce838808501c68f4dc15d3c2afa (patch)
treeff255730266defda917e715bd7d734d67628c34c /llvm/lib/IR
parent8e31efdbbfe49bace5eca17f9971367d30a1f90f (diff)
downloadbcm5719-llvm-892711b0db173ce838808501c68f4dc15d3c2afa.tar.gz
bcm5719-llvm-892711b0db173ce838808501c68f4dc15d3c2afa.zip
Mid-air collision. reapply r173656.
llvm-svn: 173661
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/Attributes.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp
index 67fab83d2e0..3f0038b6fbf 100644
--- a/llvm/lib/IR/Attributes.cpp
+++ b/llvm/lib/IR/Attributes.cpp
@@ -710,23 +710,23 @@ AttributeSet AttributeSet::getSlotAttributes(unsigned Slot) const {
return pImpl->getSlotAttributes(Slot);
}
-bool AttributeSet::hasAttribute(uint64_t Index, Attribute::AttrKind Kind) const{
+bool AttributeSet::hasAttribute(unsigned Index, Attribute::AttrKind Kind) const{
return getAttributes(Index).hasAttribute(Kind);
}
-bool AttributeSet::hasAttributes(uint64_t Index) const {
+bool AttributeSet::hasAttributes(unsigned Index) const {
return getAttributes(Index).hasAttributes();
}
-std::string AttributeSet::getAsString(uint64_t Index) const {
+std::string AttributeSet::getAsString(unsigned Index) const {
return getAttributes(Index).getAsString();
}
-unsigned AttributeSet::getParamAlignment(uint64_t Idx) const {
+unsigned AttributeSet::getParamAlignment(unsigned Idx) const {
return getAttributes(Idx).getAlignment();
}
-unsigned AttributeSet::getStackAlignment(uint64_t Index) const {
+unsigned AttributeSet::getStackAlignment(unsigned Index) const {
return getAttributes(Index).getStackAlignment();
}
OpenPOWER on IntegriCloud