diff options
author | Gabor Greif <ggreif@gmail.com> | 2008-05-22 19:24:54 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2008-05-22 19:24:54 +0000 |
commit | ff77c8b6088121dc061d184ac116d1dee5a42533 (patch) | |
tree | 77d7a02f5bba2342450ea09f926cd435238078d2 /llvm/lib/Analysis/ConstantFolding.cpp | |
parent | 53963b775ecac4d9f40558764e059ea99372862d (diff) | |
download | bcm5719-llvm-ff77c8b6088121dc061d184ac116d1dee5a42533.tar.gz bcm5719-llvm-ff77c8b6088121dc061d184ac116d1dee5a42533.zip |
transform more loops to iterator form, detabify
llvm-svn: 51436
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
-rw-r--r-- | llvm/lib/Analysis/ConstantFolding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp index e260d24ec89..d933dd8d403 100644 --- a/llvm/lib/Analysis/ConstantFolding.cpp +++ b/llvm/lib/Analysis/ConstantFolding.cpp @@ -66,7 +66,7 @@ static bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, // Otherwise, add any offset that our operands provide. gep_type_iterator GTI = gep_type_begin(CE); for (User::const_op_iterator i = CE->op_begin() + 1, e = CE->op_end(); - i != e; ++i, ++GTI) { + i != e; ++i, ++GTI) { ConstantInt *CI = dyn_cast<ConstantInt>(*i); if (!CI) return false; // Index isn't a simple constant? if (CI->getZExtValue() == 0) continue; // Not adding anything. |