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)
llvm-svn: 175600

llvm/include/llvm/CodeGen/SlotIndexes.h

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