[llvm-commits] [llvm] r114126 - /llvm/trunk/lib/Analysis/MemDepPrinter.cpp
Dan Gohman
gohman at apple.com
Thu Sep 16 15:50:09 PDT 2010
Author: djg
Date: Thu Sep 16 17:50:09 2010
New Revision: 114126
URL: http://llvm.org/viewvc/llvm-project?rev=114126&view=rev
Log:
Rename a variable to avoid a declaration conflict.
Modified:
llvm/trunk/lib/Analysis/MemDepPrinter.cpp
Modified: llvm/trunk/lib/Analysis/MemDepPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemDepPrinter.cpp?rev=114126&r1=114125&r2=114126&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemDepPrinter.cpp (original)
+++ llvm/trunk/lib/Analysis/MemDepPrinter.cpp Thu Sep 16 17:50:09 2010
@@ -125,11 +125,11 @@
for (const_inst_iterator I = inst_begin(*F), E = inst_end(*F); I != E; ++I) {
const Instruction *Inst = &*I;
- DepSetMap::const_iterator I = Deps.find(Inst);
- if (I == Deps.end())
+ DepSetMap::const_iterator DI = Deps.find(Inst);
+ if (DI == Deps.end())
continue;
- const DepSet &InstDeps = I->second;
+ const DepSet &InstDeps = DI->second;
for (DepSet::const_iterator I = InstDeps.begin(), E = InstDeps.end();
I != E; ++I) {
More information about the llvm-commits
mailing list