diff options
author | Dan Gohman <gohman@apple.com> | 2010-09-16 22:50:09 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-09-16 22:50:09 +0000 |
commit | a627e9bfcdd40454c6942228ab9614dc4154d974 (patch) | |
tree | 87d0b6244241ae9467143561e77749d83006737c /lib/Analysis/MemDepPrinter.cpp | |
parent | ead0109f5bc010af837d0fa7c9bb2401b34fb29d (diff) | |
download | llvm-a627e9bfcdd40454c6942228ab9614dc4154d974.tar.gz llvm-a627e9bfcdd40454c6942228ab9614dc4154d974.tar.bz2 llvm-a627e9bfcdd40454c6942228ab9614dc4154d974.tar.xz |
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
Diffstat (limited to 'lib/Analysis/MemDepPrinter.cpp')
-rw-r--r-- | lib/Analysis/MemDepPrinter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/MemDepPrinter.cpp b/lib/Analysis/MemDepPrinter.cpp index 1cbacff02d..6f75239852 100644 --- a/lib/Analysis/MemDepPrinter.cpp +++ b/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) { |