Make SlotIndex::getEntry() return unsigned to match IndexListEntry.
authorCameron Zwarich <zwarich@apple.com>
Wed, 20 Feb 2013 06:46:39 +0000 (06:46 +0000)
committerCameron Zwarich <zwarich@apple.com>
Wed, 20 Feb 2013 06:46:39 +0000 (06:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175600 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SlotIndexes.h

index 76c1cea25237f7f62c7d25e43b3afde16a4722cb..8032972cb9a254b63cbc6f9341d1c5eaebe6565f 100644 (file)
@@ -112,7 +112,7 @@ namespace llvm {
       return lie.getPointer();
     }
 
-    int getIndex() const {
+    unsigned getIndex() const {
       return listEntry()->getIndex() | getSlot();
     }