summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-08-27 00:43:51 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-08-27 00:43:51 +0000
commit366c457e0804bf01c50c7b55b6d3f52edaa64dfa (patch)
tree4016c36191415117009c3cf067813ac8d2be6ce8 /llvm/lib/Bytecode/Reader
parent248c06dceab0584dba91d007b57881c3af22b758 (diff)
downloadbcm5719-llvm-366c457e0804bf01c50c7b55b6d3f52edaa64dfa.tar.gz
bcm5719-llvm-366c457e0804bf01c50c7b55b6d3f52edaa64dfa.zip
Correctly compute the number of compaction tables.
llvm-svn: 16064
Diffstat (limited to 'llvm/lib/Bytecode/Reader')
-rw-r--r--llvm/lib/Bytecode/Reader/Analyzer.cpp2
1 files changed, 1 insertions, 1 deletions
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";
}
OpenPOWER on IntegriCloud