[llvm] r176645 - Change Index type from unsigned long to unsigned. This should fix PR14980.

Jakub Staszak kubastaszak at gmail.com
Thu Mar 7 12:21:27 PST 2013


Author: kuba
Date: Thu Mar  7 14:21:27 2013
New Revision: 176645

URL: http://llvm.org/viewvc/llvm-project?rev=176645&view=rev
Log:
Change Index type from unsigned long to unsigned. This should fix PR14980.

Modified:
    llvm/trunk/include/llvm/IR/Instructions.h

Modified: llvm/trunk/include/llvm/IR/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Instructions.h?rev=176645&r1=176644&r2=176645&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Instructions.h (original)
+++ llvm/trunk/include/llvm/IR/Instructions.h Thu Mar  7 14:21:27 2013
@@ -2658,7 +2658,7 @@ public:
   protected:
 
     SwitchInstTy *SI;
-    unsigned long Index;
+    unsigned Index;
     SubsetsItTy SubsetIt;
 
     /// Initializes case iterator for given SwitchInst and for given





More information about the llvm-commits mailing list