aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-10-23 14:39:22 +0000
committerJim Laskey <jlaskey@mac.com>2006-10-23 14:39:22 +0000
commit978b35e5027208e707f642247643fb17de4af5f7 (patch)
tree0c8b8a06f8ec83ff351a80c8575ac109ee4a2d1c /lib/Analysis
parent937e87ad2a69946a286b1da572c0e699c8b94182 (diff)
downloadexternal_llvm-978b35e5027208e707f642247643fb17de4af5f7.zip
external_llvm-978b35e5027208e707f642247643fb17de4af5f7.tar.gz
external_llvm-978b35e5027208e707f642247643fb17de4af5f7.tar.bz2
[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
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/DataStructure/Local.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp
index c5c68b3..f0bb22c 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<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