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

llvm-svn: 31128
This commit is contained in:
Jim Laskey 2006-10-23 14:39:22 +00:00
parent 7838d655ca
commit bd7a1d2b4d
1 changed files with 1 additions and 1 deletions

View File

@ -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