mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-03 00:33:09 +00:00
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:
parent
804e067042
commit
1406bdab85
@ -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");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user