[llvm-commits] CVS: llvm/utils/TableGen/CodeEmitterGen.cpp
Jim Laskey
jlaskey at apple.com
Mon Jul 10 18:26:13 PDT 2006
Changes in directory llvm/utils/TableGen:
CodeEmitterGen.cpp updated: 1.44 -> 1.45
---
Log message:
Reduce bloat in target libraries by removing per machine instruction assertion
from code emitter generation.
---
Diffs of the changes: (+1 -3)
CodeEmitterGen.cpp | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
Index: llvm/utils/TableGen/CodeEmitterGen.cpp
diff -u llvm/utils/TableGen/CodeEmitterGen.cpp:1.44 llvm/utils/TableGen/CodeEmitterGen.cpp:1.45
--- llvm/utils/TableGen/CodeEmitterGen.cpp:1.44 Fri Mar 17 18:40:36 2006
+++ llvm/utils/TableGen/CodeEmitterGen.cpp Mon Jul 10 20:25:59 2006
@@ -82,7 +82,6 @@
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 @@
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");
More information about the llvm-commits
mailing list