Added a DEBUG() guard to a debug information printout.
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 18 Jul 2003 18:03:45 +0000 (18:03 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 18 Jul 2003 18:03:45 +0000 (18:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7203 91177308-0d34-0410-b5e6-96231b3b80d8

support/tools/TableGen/CodeEmitterGen.cpp
utils/TableGen/CodeEmitterGen.cpp

index 14cb6be861cd32eb65dec2afb65189c6d282bb91..90497cc620bfeb0d46e795f13d6b35a1361ae66f 100644 (file)
@@ -136,7 +136,8 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
                 << ", 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)
index 14cb6be861cd32eb65dec2afb65189c6d282bb91..90497cc620bfeb0d46e795f13d6b35a1361ae66f 100644 (file)
@@ -136,7 +136,8 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
                 << ", 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)