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
This commit is contained in:
Jim Laskey 2006-07-11 01:25:59 +00:00
parent 804e067042
commit 1406bdab85

View File

@ -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");