Compaction tables don't exist any more.

llvm-svn: 34148
This commit is contained in:
Reid Spencer 2007-02-10 14:07:56 +00:00
parent d5427f5249
commit 66bb33845e
2 changed files with 0 additions and 62 deletions

View File

@ -153,33 +153,6 @@ public:
/// @brief Handle end of module globals block.
virtual void handleModuleGlobalsEnd() {}
/// This method is called at the beginning of a compaction table.
/// @brief Handle start of compaction table.
virtual void handleCompactionTableBegin() {}
/// @brief Handle start of a compaction table plane
virtual void handleCompactionTablePlane(
unsigned Ty, ///< The type of the plane (slot number)
unsigned NumEntries ///< The number of entries in the plane
) {}
/// @brief Handle a type entry in the compaction table
virtual void handleCompactionTableType(
unsigned i, ///< Index in the plane of this type
unsigned TypSlot, ///< Slot number for this type
const Type* ///< The type referenced by this slot
) {}
/// @brief Handle a value entry in the compaction table
virtual void handleCompactionTableValue(
unsigned i, ///< Index in the compaction table's type plane
unsigned TypSlot, ///< The slot (plane) of the type of this value
unsigned ValSlot ///< The global value slot of the value
) {}
/// @brief Handle end of a compaction table
virtual void handleCompactionTableEnd() {}
/// @brief Handle start of a symbol table
virtual void handleTypeSymbolTableBegin(
TypeSymbolTable* ST ///< The symbol table being filled

View File

@ -231,40 +231,6 @@ public:
}
}
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 @@ void llvm::PrintBytecodeAnalysis(BytecodeAnalysis& bca, std::ostream& Out )
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);