[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Reid Spencer
reid at x10sys.com
Mon Nov 15 09:29:52 PST 2004
Changes in directory llvm/lib/Transforms/Scalar:
ScalarReplAggregates.cpp updated: 1.28 -> 1.29
---
Log message:
Remove unused variable for compilation by VC++.
Patch contributed by Morten Ofstad.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
diff -u llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.28 llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.29
--- llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.28 Sat Nov 13 23:00:19 2004
+++ llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp Mon Nov 15 11:29:41 2004
@@ -336,7 +336,7 @@
for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end();
UI != E; ) {
GetElementPtrInst *GEPI = cast<GetElementPtrInst>(*UI++);
- gep_type_iterator I = gep_type_begin(GEPI), E = gep_type_end(GEPI);
+ gep_type_iterator I = gep_type_begin(GEPI);
++I;
if (const ArrayType *AT = dyn_cast<ArrayType>(*I)) {
More information about the llvm-commits
mailing list