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

Reid Spencer reid at x10sys.com
Fri Jan 5 23:25:23 PST 2007



Changes in directory llvm/tools/bugpoint:

CrashDebugger.cpp updated: 1.53 -> 1.54
---
Log message:

For PR411: http://llvm.org/PR411 :
Take an incremental step towards type plane elimination. This change 
separates types from values in the symbol tables by finally making use
of the TypeSymbolTable class. This yields more natural interfaces for
dealing with types and unclutters the SymbolTable class.


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

 CrashDebugger.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/tools/bugpoint/CrashDebugger.cpp
diff -u llvm/tools/bugpoint/CrashDebugger.cpp:1.53 llvm/tools/bugpoint/CrashDebugger.cpp:1.54
--- llvm/tools/bugpoint/CrashDebugger.cpp:1.53	Thu Nov  2 14:25:50 2006
+++ llvm/tools/bugpoint/CrashDebugger.cpp	Sat Jan  6 01:24:44 2007
@@ -337,7 +337,7 @@
     // module, and that they don't include any deleted blocks.
     BBs.clear();
     for (unsigned i = 0, e = BlockInfo.size(); i != e; ++i) {
-      SymbolTable &ST = BlockInfo[i].first->getSymbolTable();
+      SymbolTable &ST = BlockInfo[i].first->getValueSymbolTable();
       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]));






More information about the llvm-commits mailing list