[llvm-commits] [bug_122] CVS: llvm/tools/bugpoint/CrashDebugger.cpp

LLVM llvm at cs.uiuc.edu
Wed May 12 11:33:04 PDT 2004


Changes in directory llvm/tools/bugpoint:

CrashDebugger.cpp updated: 1.34 -> 1.34.4.1

---
Log message:

Change SymbolTable to not subclass from std::map but to embed one instead 
and cleanup use of SymbolTable in rest of LLVM. Also, add some new methods
to SymbolTable for small/utility cases and substitute calls to them in 
LLVM.


---
Diffs of the changes:  (+1 -1)

Index: llvm/tools/bugpoint/CrashDebugger.cpp
diff -u llvm/tools/bugpoint/CrashDebugger.cpp:1.34 llvm/tools/bugpoint/CrashDebugger.cpp:1.34.4.1
--- llvm/tools/bugpoint/CrashDebugger.cpp:1.34	Sun Mar 14 14:50:42 2004
+++ llvm/tools/bugpoint/CrashDebugger.cpp	Wed May 12 11:33:43 2004
@@ -245,7 +245,7 @@
     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);
+      SymbolTable::type_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]));
     }





More information about the llvm-commits mailing list