mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Use proper return type for attribute index.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173638 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d05204aea4
commit
5f33912f91
@ -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 /
|
||||
|
Loading…
x
Reference in New Issue
Block a user