[llvm-commits] CVS: llvm/tools/bugpoint/CrashDebugger.cpp
LLVM
llvm at cs.uiuc.edu
Tue May 25 07:21:33 PDT 2004
Changes in directory llvm/tools/bugpoint:
CrashDebugger.cpp updated: 1.34 -> 1.35
---
Log message:
Convert to SymbolTable's new iteration interface.
---
Diffs of the changes: (+3 -3)
Index: llvm/tools/bugpoint/CrashDebugger.cpp
diff -u llvm/tools/bugpoint/CrashDebugger.cpp:1.34 llvm/tools/bugpoint/CrashDebugger.cpp:1.35
--- llvm/tools/bugpoint/CrashDebugger.cpp:1.34 Sun Mar 14 14:50:42 2004
+++ llvm/tools/bugpoint/CrashDebugger.cpp Tue May 25 03:53:40 2004
@@ -245,9 +245,9 @@
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;
}
More information about the llvm-commits
mailing list