summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--support/tools/TableGen/CodeEmitterGen.cpp3
-rw-r--r--utils/TableGen/CodeEmitterGen.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/support/tools/TableGen/CodeEmitterGen.cpp b/support/tools/TableGen/CodeEmitterGen.cpp
index 14cb6be861..90497cc620 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 14cb6be861..90497cc620 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)