Rename a variable to avoid a declaration conflict.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114126 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-09-16 22:50:09 +00:00
parent ead0109f5b
commit a627e9bfcd

View File

@ -125,11 +125,11 @@ void MemDepPrinter::print(raw_ostream &OS, const Module *M) const {
for (const_inst_iterator I = inst_begin(*F), E = inst_end(*F); I != E; ++I) { for (const_inst_iterator I = inst_begin(*F), E = inst_end(*F); I != E; ++I) {
const Instruction *Inst = &*I; const Instruction *Inst = &*I;
DepSetMap::const_iterator I = Deps.find(Inst); DepSetMap::const_iterator DI = Deps.find(Inst);
if (I == Deps.end()) if (DI == Deps.end())
continue; continue;
const DepSet &InstDeps = I->second; const DepSet &InstDeps = DI->second;
for (DepSet::const_iterator I = InstDeps.begin(), E = InstDeps.end(); for (DepSet::const_iterator I = InstDeps.begin(), E = InstDeps.end();
I != E; ++I) { I != E; ++I) {