summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-05-25 08:53:40 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-05-25 08:53:40 +0000
commit9231ac8b6f2c3f9877bdb7a223f7392061258ab6 (patch)
tree9f97206d6e486301c3bfb513b1872e5b1d4f5b20 /tools
parentaf90b0d8b8071b4ddc9e5932abde7a1845defdba (diff)
downloadllvm-9231ac8b6f2c3f9877bdb7a223f7392061258ab6.tar.gz
llvm-9231ac8b6f2c3f9877bdb7a223f7392061258ab6.tar.bz2
llvm-9231ac8b6f2c3f9877bdb7a223f7392061258ab6.tar.xz
Convert to SymbolTable's new iteration interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint/CrashDebugger.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp
index 2be8cd0244..90e2edcfda 100644
--- a/tools/bugpoint/CrashDebugger.cpp
+++ b/tools/bugpoint/CrashDebugger.cpp
@@ -245,9 +245,9 @@ bool ReduceCrashingBlocks::TestBlocks(std::vector<const BasicBlock*> &BBs) {
BBs.clear();
for (unsigned i = 0, e = BlockInfo.size(); i != e; ++i) {
SymbolTable &ST = BlockInfo[i].first->getSymbolTable();
- SymbolTable::iterator I = ST.find(Type::LabelTy);
- if (I != ST.end() && I->second.count(BlockInfo[i].second))
- BBs.push_back(cast<BasicBlock>(I->second[BlockInfo[i].second]));
+ SymbolTable::plane_iterator PI = ST.find(Type::LabelTy);
+ if (PI != ST.plane_end() && PI->second.count(BlockInfo[i].second))
+ BBs.push_back(cast<BasicBlock>(PI->second[BlockInfo[i].second]));
}
return true;
}