aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bytecode
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
commit488d73a8b7bf41523c3da373eb42ba6cb9bace6a (patch)
tree3b53a73bd8982e603c4d49af4c13392388f7b223 /lib/Bytecode
parent0033c18c47a573c898a41b9cbaeb98118537ac28 (diff)
downloadexternal_llvm-488d73a8b7bf41523c3da373eb42ba6cb9bace6a.zip
external_llvm-488d73a8b7bf41523c3da373eb42ba6cb9bace6a.tar.gz
external_llvm-488d73a8b7bf41523c3da373eb42ba6cb9bace6a.tar.bz2
Correctly compute the number of compaction tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Reader/Analyzer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Reader/Analyzer.cpp b/lib/Bytecode/Reader/Analyzer.cpp
index 378b729..adaaa7c 100644
--- a/lib/Bytecode/Reader/Analyzer.cpp
+++ b/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";
}