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

Chris Lattner lattner at cs.uiuc.edu
Sun Jan 18 16:28:01 PST 2004


Changes in directory llvm/lib/Bytecode/Writer:

Writer.cpp updated: 1.57 -> 1.58

---
Log message:

Remove -debug output


---
Diffs of the changes:  (+0 -7)

Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.57 llvm/lib/Bytecode/Writer/Writer.cpp:1.58
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.57	Sun Jan 18 15:08:52 2004
+++ llvm/lib/Bytecode/Writer/Writer.cpp	Sun Jan 18 16:26:53 2004
@@ -30,7 +30,6 @@
 #include "llvm/SymbolTable.h"
 #include "Support/STLExtras.h"
 #include "Support/Statistic.h"
-#include "Support/Debug.h"
 #include <cstring>
 #include <algorithm>
 using namespace llvm;
@@ -86,12 +85,6 @@
     unsigned ValNo = Type::FirstDerivedTyID; // Start at the derived types...
     outputConstantsInPlane(Plane, ValNo);      // Write out the types
   }
-
-  DEBUG(for (unsigned i = 0; i != Type::TypeTyID; ++i)
-          if (Table.getPlane(i).size())
-            std::cerr << "  ModuleLevel["
-                      << *Type::getPrimitiveType((Type::PrimitiveID)i)
-                      << "] = " << Table.getPlane(i).size() << "\n");
 
   // The ModuleInfoBlock follows directly after the type information
   outputModuleInfoBlock(M);





More information about the llvm-commits mailing list