[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Analyzer.cpp

Reid Spencer reid at x10sys.com
Thu Aug 26 17:44:01 PDT 2004



Changes in directory llvm/lib/Bytecode/Reader:

Analyzer.cpp updated: 1.15 -> 1.16
---
Log message:

Correctly compute the number of compaction tables.


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Bytecode/Reader/Analyzer.cpp
diff -u llvm/lib/Bytecode/Reader/Analyzer.cpp:1.15 llvm/lib/Bytecode/Reader/Analyzer.cpp:1.16
--- llvm/lib/Bytecode/Reader/Analyzer.cpp:1.15	Tue Aug 24 17:45:32 2004
+++ llvm/lib/Bytecode/Reader/Analyzer.cpp	Thu Aug 26 19:43:51 2004
@@ -241,10 +241,10 @@
   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";
   }






More information about the llvm-commits mailing list