summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit9aac90774049e440448c7a60c25dc6014d12dd3a (patch)
tree35e3d90ffcecb65ec0aa1ce7e90adfe16f4323b5 /llvm/lib/Bytecode
parent6e4c2778585a79feeab8ab2ac85623904d3235b0 (diff)
downloadbcm5719-llvm-9aac90774049e440448c7a60c25dc6014d12dd3a.tar.gz
bcm5719-llvm-9aac90774049e440448c7a60c25dc6014d12dd3a.zip
Compaction tables don't exist any more.
llvm-svn: 34148
Diffstat (limited to 'llvm/lib/Bytecode')
-rw-r--r--llvm/lib/Bytecode/Reader/Analyzer.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/llvm/lib/Bytecode/Reader/Analyzer.cpp b/llvm/lib/Bytecode/Reader/Analyzer.cpp
index 68d0a929574..fe503f4d124 100644
--- a/llvm/lib/Bytecode/Reader/Analyzer.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud