From: Misha Brukman Date: Fri, 18 Jul 2003 18:03:45 +0000 (+0000) Subject: Added a DEBUG() guard to a debug information printout. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c86516f35ccc64ad33acdd79c89aa4c4e33c6e70;p=oota-llvm.git Added a DEBUG() guard to a debug information printout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7203 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/support/tools/TableGen/CodeEmitterGen.cpp b/support/tools/TableGen/CodeEmitterGen.cpp index 14cb6be861c..90497cc620b 100644 --- a/support/tools/TableGen/CodeEmitterGen.cpp +++ b/support/tools/TableGen/CodeEmitterGen.cpp @@ -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) diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp index 14cb6be861c..90497cc620b 100644 --- a/utils/TableGen/CodeEmitterGen.cpp +++ b/utils/TableGen/CodeEmitterGen.cpp @@ -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)