[llvm-commits] CVS: llvm/utils/TableGen/CodeEmitterGen.cpp

Misha Brukman brukman at cs.uiuc.edu
Fri Jul 18 13:04:02 PDT 2003


Changes in directory llvm/utils/TableGen:

CodeEmitterGen.cpp updated: 1.12 -> 1.13

---
Log message:

Added a DEBUG() guard to a debug information printout.


---
Diffs of the changes:

Index: llvm/utils/TableGen/CodeEmitterGen.cpp
diff -u llvm/utils/TableGen/CodeEmitterGen.cpp:1.12 llvm/utils/TableGen/CodeEmitterGen.cpp:1.13
--- llvm/utils/TableGen/CodeEmitterGen.cpp:1.12	Tue Jul 15 16:26:09 2003
+++ llvm/utils/TableGen/CodeEmitterGen.cpp	Fri Jul 18 13:03:45 2003
@@ -136,7 +136,8 @@
                 << ", end = " << endBitInInst << "\n");
 
         if (continuous) {
-          o << "      // continuous: op" << OpOrder[Vals[i].getName()] << "\n";
+          DEBUG(o << "      // continuous: op" << OpOrder[Vals[i].getName()]
+                  << "\n");
           
           // Mask off the right bits
           // Low mask (ie. shift, if necessary)





More information about the llvm-commits mailing list