diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-27 23:49:44 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-27 23:49:44 +0000 |
commit | dbbe7fe8652c971cda80d8b175b6c3f4bb696f80 (patch) | |
tree | 0b70b0156dd4507c1d73b4f51ea9875bcde71581 /llvm/lib | |
parent | 1f786a73715de206d13f3717f34d378a1ea1f0ed (diff) | |
download | bcm5719-llvm-dbbe7fe8652c971cda80d8b175b6c3f4bb696f80.tar.gz bcm5719-llvm-dbbe7fe8652c971cda80d8b175b6c3f4bb696f80.zip |
Use proper return type for attribute index.
llvm-svn: 173638
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/IR/AttributeImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/AttributeImpl.h b/llvm/lib/IR/AttributeImpl.h index babc14e1fa8..f9a716cb3c0 100644 --- a/llvm/lib/IR/AttributeImpl.h +++ b/llvm/lib/IR/AttributeImpl.h @@ -137,7 +137,7 @@ public: /// is the index of the return, parameter, or function object that the /// attributes are applied to, not the index into the AttrNodes list where the /// attributes reside. - unsigned getSlotIndex(unsigned Slot) const { return AttrNodes[Slot].first; } + uint64_t getSlotIndex(unsigned Slot) const { return AttrNodes[Slot].first; } /// \brief Retrieve the attributes for the given "slot" in the AttrNode list. /// \p Slot is an index into the AttrNodes list, not the index of the return / |