diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-07-11 01:25:59 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-07-11 01:25:59 +0000 |
commit | 1406bdab851705ebabd8d0123c52a69238d93d64 (patch) | |
tree | 1e73034fdae2f3fc38baa50277895ca402346a94 /utils/TableGen/CodeEmitterGen.cpp | |
parent | 804e06704261f233111913a047ef7f7dec1b8725 (diff) |
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
Diffstat (limited to 'utils/TableGen/CodeEmitterGen.cpp')
-rw-r--r-- | utils/TableGen/CodeEmitterGen.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp index 15b35d5d5d..18827ab76a 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"); |