From bd7a1d2b4dddd41821c8d2143a7d22ebc855e712 Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Mon, 23 Oct 2006 14:39:22 +0000 Subject: [SU]int update - inactive code may get activated someday llvm-svn: 31128 --- llvm/lib/Analysis/DataStructure/Local.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Analysis/DataStructure/Local.cpp') diff --git a/llvm/lib/Analysis/DataStructure/Local.cpp b/llvm/lib/Analysis/DataStructure/Local.cpp index c5c68b3a692..f0bb22c3bc9 100644 --- a/llvm/lib/Analysis/DataStructure/Local.cpp +++ b/llvm/lib/Analysis/DataStructure/Local.cpp @@ -419,7 +419,7 @@ void GraphBuilder::visitGetElementPtrInst(User &GEP) { #if 0 if (const SequentialType *STy = cast(*I)) { CurTy = STy->getElementType(); - if (ConstantSInt *CS = dyn_cast(GEP.getOperand(i))) { + if (ConstantInt *CS = dyn_cast(GEP.getOperand(i))) { Offset += CS->getValue()*TD.getTypeSize(CurTy); } else { // Variable index into a node. We must merge all of the elements of the -- cgit v1.2.3