[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/Local.cpp

Jim Laskey jlaskey at apple.com
Mon Oct 23 07:39:39 PDT 2006



Changes in directory llvm/lib/Analysis/DataStructure:

Local.cpp updated: 1.155 -> 1.156
---
Log message:

[SU]int update - inactive code may get activated someday

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

 Local.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Analysis/DataStructure/Local.cpp
diff -u llvm/lib/Analysis/DataStructure/Local.cpp:1.155 llvm/lib/Analysis/DataStructure/Local.cpp:1.156
--- llvm/lib/Analysis/DataStructure/Local.cpp:1.155	Fri Oct 20 02:07:24 2006
+++ llvm/lib/Analysis/DataStructure/Local.cpp	Mon Oct 23 09:39:22 2006
@@ -419,7 +419,7 @@
 #if 0
     if (const SequentialType *STy = cast<SequentialType>(*I)) {
       CurTy = STy->getElementType();
-      if (ConstantSInt *CS = dyn_cast<ConstantSInt>(GEP.getOperand(i))) {
+      if (ConstantInt *CS = dyn_cast<ConstantInt>(GEP.getOperand(i))) {
         Offset += CS->getValue()*TD.getTypeSize(CurTy);
       } else {
         // Variable index into a node.  We must merge all of the elements of the






More information about the llvm-commits mailing list