diff options
author | Cameron Zwarich <zwarich@apple.com> | 2013-02-20 06:46:39 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2013-02-20 06:46:39 +0000 |
commit | 5954fc60500d1c393a69b1de5ca1b99686fbe216 (patch) | |
tree | 699ef9180c47159e98ae6fc07d25e477d826c1ad | |
parent | fd0f93fa1da8cecdcfef5b12da367708ef55a343 (diff) |
Make SlotIndex::getEntry() return unsigned to match IndexListEntry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175600 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/SlotIndexes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h index 76c1cea252..8032972cb9 100644 --- a/include/llvm/CodeGen/SlotIndexes.h +++ b/include/llvm/CodeGen/SlotIndexes.h @@ -112,7 +112,7 @@ namespace llvm { return lie.getPointer(); } - int getIndex() const { + unsigned getIndex() const { return listEntry()->getIndex() | getSlot(); } |