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 | 3217eb652b5d377a7257d78e16e988c48a1b71c2 (patch) | |
tree | 5eefe5b09bbfad8576a1f5fe3aabaafd96d4ab7b /llvm/lib/IR/Attributes.cpp | |
parent | dbbe7fe8652c971cda80d8b175b6c3f4bb696f80 (diff) | |
download | bcm5719-llvm-3217eb652b5d377a7257d78e16e988c48a1b71c2.tar.gz bcm5719-llvm-3217eb652b5d377a7257d78e16e988c48a1b71c2.zip |
Use proper return type for attribute index.
llvm-svn: 173639
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
-rw-r--r-- | llvm/lib/IR/Attributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp index 81390f0bc14..8e64a49c47a 100644 --- a/llvm/lib/IR/Attributes.cpp +++ b/llvm/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); |