summaryrefslogtreecommitdiff
path: root/lib/Bytecode
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-10 14:07:56 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-10 14:07:56 +0000
commit91c4af242afa02b44fd949ca1876cbf472c60e86 (patch)
tree74c4a90a759101a999bb0addf5317eb4e8a25ad4 /lib/Bytecode
parentfe3cccfb8f28c3c3bc968b4fd639ec0746cf0854 (diff)
downloadllvm-91c4af242afa02b44fd949ca1876cbf472c60e86.tar.gz
llvm-91c4af242afa02b44fd949ca1876cbf472c60e86.tar.bz2
llvm-91c4af242afa02b44fd949ca1876cbf472c60e86.tar.xz
Compaction tables don't exist any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34148 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Reader/Analyzer.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/Bytecode/Reader/Analyzer.cpp b/lib/Bytecode/Reader/Analyzer.cpp
index 68d0a92957..fe503f4d12 100644
--- a/lib/Bytecode/Reader/Analyzer.cpp
+++ b/lib/Bytecode/Reader/Analyzer.cpp
@@ -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);