[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Analyzer.cpp

Reid Spencer reid at x10sys.com
Sat Feb 10 06:08:12 PST 2007



Changes in directory llvm/lib/Bytecode/Reader:

Analyzer.cpp updated: 1.35 -> 1.36
---
Log message:

Compaction tables don't exist any more.


---
Diffs of the changes:  (+0 -35)

 Analyzer.cpp |   35 -----------------------------------
 1 files changed, 35 deletions(-)


Index: llvm/lib/Bytecode/Reader/Analyzer.cpp
diff -u llvm/lib/Bytecode/Reader/Analyzer.cpp:1.35 llvm/lib/Bytecode/Reader/Analyzer.cpp:1.36
--- llvm/lib/Bytecode/Reader/Analyzer.cpp:1.35	Wed Feb  7 17:46:55 2007
+++ llvm/lib/Bytecode/Reader/Analyzer.cpp	Sat Feb 10 08:07:56 2007
@@ -231,40 +231,6 @@
     }
   }
 
-  virtual void handleCompactionTableBegin() {
-    if (os)
-      *os << "      BLOCK: CompactionTable {\n";
-    bca.numCmpctnTables++;
-  }
-
-  virtual void handleCompactionTablePlane( unsigned Ty, unsigned NumEntries) {
-    if (os)
-      *os << "        Plane: Ty=" << Ty << " Size=" << NumEntries << "\n";
-  }
-
-  virtual void handleCompactionTableType( unsigned i, unsigned TypSlot,
-      const Type* Ty ) {
-    if (os) {
-      *os << "          Type: " << i << " Slot:" << TypSlot << " is ";
-      WriteTypeSymbolic(*os,Ty,M);
-      *os << "\n";
-    }
-  }
-
-  virtual void handleCompactionTableValue(unsigned i, unsigned TypSlot,
-                                          unsigned ValSlot) {
-    if (os)
-      *os << "          Value: " << i << " TypSlot: " << TypSlot
-         << " ValSlot:" << ValSlot << "\n";
-    if (ValSlot > bca.maxValueSlot)
-      bca.maxValueSlot = ValSlot;
-  }
-
-  virtual void handleCompactionTableEnd() {
-    if (os)
-      *os << "      } END BLOCK: CompactionTable\n";
-  }
-
   virtual void handleTypeSymbolTableBegin(TypeSymbolTable* ST) {
     bca.numSymTab++;
     if (os)
@@ -624,7 +590,6 @@
   print(Out, "Number Of Instructions",          bca.numInstructions);
   print(Out, "Number Of Long Instructions",     bca.longInstructions);
   print(Out, "Number Of Operands",              bca.numOperands);
-  print(Out, "Number Of Compaction Tables",     bca.numCmpctnTables);
   print(Out, "Number Of Symbol Tables",         bca.numSymTab);
   print(Out, "Number Of Dependent Libs",        bca.numLibraries);
   print(Out, "Total Instruction Size",          bca.instructionSize);






More information about the llvm-commits mailing list