From: Jim Laskey Date: Mon, 23 Oct 2006 14:39:22 +0000 (+0000) Subject: [SU]int update - inactive code may get activated someday X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=978b35e5027208e707f642247643fb17de4af5f7;p=oota-llvm.git [SU]int update - inactive code may get activated someday git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31128 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp index c5c68b3a692..f0bb22c3bc9 100644 --- a/lib/Analysis/DataStructure/Local.cpp +++ b/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