aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2013-02-20 06:46:39 +0000
committerCameron Zwarich <zwarich@apple.com>2013-02-20 06:46:39 +0000
commit5954fc60500d1c393a69b1de5ca1b99686fbe216 (patch)
tree699ef9180c47159e98ae6fc07d25e477d826c1ad /include
parentfd0f93fa1da8cecdcfef5b12da367708ef55a343 (diff)
downloadexternal_llvm-5954fc60500d1c393a69b1de5ca1b99686fbe216.zip
external_llvm-5954fc60500d1c393a69b1de5ca1b99686fbe216.tar.gz
external_llvm-5954fc60500d1c393a69b1de5ca1b99686fbe216.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SlotIndexes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h
index 76c1cea..8032972 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();
}