mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 06:40:53 +00:00
This was a good idea, but until this does not break the build of
lib/Target/Sparc, we should not use it. llvm-svn: 15603
This commit is contained in:
parent
43abe1a0d8
commit
660bc91ec4
@ -20,15 +20,15 @@
|
||||
using namespace llvm;
|
||||
|
||||
void CodeEmitterGen::run(std::ostream &o) {
|
||||
CodeGenTarget Target;
|
||||
std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction");
|
||||
|
||||
EmitSourceFileHeader("Machine Code Emitter", o);
|
||||
|
||||
std::string Namespace = Insts[0]->getValueAsString("Namespace") + "::";
|
||||
std::string Namespace = "V9::";
|
||||
std::string ClassName = "SparcV9CodeEmitter::";
|
||||
|
||||
//const std::string &Namespace = Inst->getValue("Namespace")->getName();
|
||||
o << "unsigned " << Target.getName() << "CodeEmitter::"
|
||||
o << "unsigned " << ClassName
|
||||
<< "getBinaryCodeForInstr(MachineInstr &MI) {\n"
|
||||
<< " unsigned Value = 0;\n"
|
||||
<< " DEBUG(std::cerr << MI);\n"
|
||||
|
Loading…
Reference in New Issue
Block a user