diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-27 23:50:44 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-27 23:50:44 +0000 |
commit | 3e3e789aede6ec38d39c95d88ad4e8634d5a259b (patch) | |
tree | a20cd5d8a369f01992053d423c6283714b4810f0 /lib/IR | |
parent | 5f33912f91ec2673545a5e000cc7bf7a0ecccdbd (diff) | |
download | external_llvm-3e3e789aede6ec38d39c95d88ad4e8634d5a259b.zip external_llvm-3e3e789aede6ec38d39c95d88ad4e8634d5a259b.tar.gz external_llvm-3e3e789aede6ec38d39c95d88ad4e8634d5a259b.tar.bz2 |
Use proper return type for attribute index.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR')
-rw-r--r-- | lib/IR/Attributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/Attributes.cpp b/lib/IR/Attributes.cpp index 81390f0..8e64a49 100644 --- a/lib/IR/Attributes.cpp +++ b/lib/IR/Attributes.cpp @@ -694,7 +694,7 @@ unsigned AttributeSet::getNumSlots() const { return pImpl ? pImpl->getNumAttributes() : 0; } -unsigned AttributeSet::getSlotIndex(unsigned Slot) const { +uint64_t AttributeSet::getSlotIndex(unsigned Slot) const { assert(pImpl && Slot < pImpl->getNumAttributes() && "Slot # out of range!"); return pImpl->getSlotIndex(Slot); |