From 1406bdab851705ebabd8d0123c52a69238d93d64 Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Tue, 11 Jul 2006 01:25:59 +0000 Subject: [PATCH] Reduce bloat in target libraries by removing per machine instruction assertion from code emitter generation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29097 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/CodeEmitterGen.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp index 15b35d5d5db..18827ab76a0 100644 --- a/utils/TableGen/CodeEmitterGen.cpp +++ b/utils/TableGen/CodeEmitterGen.cpp @@ -82,7 +82,6 @@ void CodeEmitterGen::run(std::ostream &o) { o << "unsigned " << Target.getName() << "CodeEmitter::" << "getBinaryCodeForInstr(MachineInstr &MI) {\n" << " unsigned Value = 0;\n" - << " DEBUG(std::cerr << MI);\n" << " switch (MI.getOpcode()) {\n"; // Emit a case statement for each opcode @@ -91,8 +90,7 @@ void CodeEmitterGen::run(std::ostream &o) { Record *R = *I; if (R->getName() == "PHI" || R->getName() == "INLINEASM") continue; - o << " case " << Namespace << R->getName() << ": {\n" - << " DEBUG(std::cerr << \"Emitting " << R->getName() << "\\n\");\n"; + o << " case " << Namespace << R->getName() << ": {\n"; BitsInit *BI = R->getValueAsBitsInit("Inst"); -- 2.34.1