[llvm] r175600 - Make SlotIndex::getEntry() return unsigned to match IndexListEntry.

Cameron Zwarich zwarich at apple.com
Tue Feb 19 22:46:39 PST 2013


Author: zwarich
Date: Wed Feb 20 00:46:39 2013
New Revision: 175600

URL: http://llvm.org/viewvc/llvm-project?rev=175600&view=rev
Log:
Make SlotIndex::getEntry() return unsigned to match IndexListEntry.

Modified:
    llvm/trunk/include/llvm/CodeGen/SlotIndexes.h

Modified: llvm/trunk/include/llvm/CodeGen/SlotIndexes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SlotIndexes.h?rev=175600&r1=175599&r2=175600&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SlotIndexes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SlotIndexes.h Wed Feb 20 00:46:39 2013
@@ -112,7 +112,7 @@ namespace llvm {
       return lie.getPointer();
     }
 
-    int getIndex() const {
+    unsigned getIndex() const {
       return listEntry()->getIndex() | getSlot();
     }
 





More information about the llvm-commits mailing list