From 366c457e0804bf01c50c7b55b6d3f52edaa64dfa Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 27 Aug 2004 00:43:51 +0000 Subject: Correctly compute the number of compaction tables. llvm-svn: 16064 --- llvm/lib/Bytecode/Reader/Analyzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Bytecode/Reader/Analyzer.cpp') diff --git a/llvm/lib/Bytecode/Reader/Analyzer.cpp b/llvm/lib/Bytecode/Reader/Analyzer.cpp index 378b7296996..adaaa7c39ab 100644 --- a/llvm/lib/Bytecode/Reader/Analyzer.cpp +++ b/llvm/lib/Bytecode/Reader/Analyzer.cpp @@ -241,10 +241,10 @@ public: virtual void handleCompactionTableBegin() { if (os) *os << " BLOCK: CompactionTable {\n"; + bca.numCmpctnTables++; } virtual void handleCompactionTablePlane( unsigned Ty, unsigned NumEntries) { - bca.numCmpctnTables++; if (os) *os << " Plane: Ty=" << Ty << " Size=" << NumEntries << "\n"; } -- cgit v1.2.3