summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-09-16 22:50:09 +0000
committerDan Gohman <gohman@apple.com>2010-09-16 22:50:09 +0000
commitf4925061af9148bcff8c30916f2fe176eed8de0e (patch)
treed339efa673b4b4fa623549db5d878086dc7000aa /llvm/lib/Analysis
parentf07c52621ee8b1d955bf05717fe172e9bfb32583 (diff)
downloadbcm5719-llvm-f4925061af9148bcff8c30916f2fe176eed8de0e.tar.gz
bcm5719-llvm-f4925061af9148bcff8c30916f2fe176eed8de0e.zip
Rename a variable to avoid a declaration conflict.
llvm-svn: 114126
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/MemDepPrinter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/MemDepPrinter.cpp b/llvm/lib/Analysis/MemDepPrinter.cpp
index 1cbacff02d2..6f75239852a 100644
--- a/llvm/lib/Analysis/MemDepPrinter.cpp
+++ b/llvm/lib/Analysis/MemDepPrinter.cpp
@@ -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) {
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) {
OpenPOWER on IntegriCloud