[llvm-commits] CVS: reopt/lib/LightWtProfiling/TraceToFunction.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Apr 4 20:34:00 PDT 2004


Changes in directory reopt/lib/LightWtProfiling:

TraceToFunction.cpp updated: 1.28 -> 1.29

---
Log message:

Update to use correct structure index type


---
Diffs of the changes:  (+1 -1)

Index: reopt/lib/LightWtProfiling/TraceToFunction.cpp
diff -u reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.28 reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.29
--- reopt/lib/LightWtProfiling/TraceToFunction.cpp:1.28	Wed Mar 31 10:29:51 2004
+++ reopt/lib/LightWtProfiling/TraceToFunction.cpp	Sun Apr  4 20:32:11 2004
@@ -471,7 +471,7 @@
                         BI->getParent ())) {
 	    std::vector<Value *> Index;
 	    Index.push_back (Constant::getNullValue (Type::LongTy));  //long 0
-	    Index.push_back (ConstantUInt::get (Type::UByteTy, Slot));//ubyte Slot
+	    Index.push_back (ConstantUInt::get (Type::UIntTy, Slot));//uint Slot
 	    GetElementPtrInst *GEP =
 	      new GetElementPtrInst (getFunctionArg (F, 0), Index,
 				     "liveOutP" + utostr (BranchNumber[BI])





More information about the llvm-commits mailing list