Skip to content
Snippets Groups Projects
Commit bf453de0 authored by Misha Brukman's avatar Misha Brukman
Browse files

Cannot output `static' in generated cpp code: results in error. It's already

specified as a static member in class definition.

llvm-svn: 6370
parent 8110439f
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
std::string ClassName = "SparcV9CodeEmitter::";
//const std::string &Namespace = Inst->getValue("Namespace")->getName();
o << "static unsigned " << ClassName
o << "unsigned " << ClassName
<< "getBinaryCodeForInstr(MachineInstr &MI) {\n"
<< " unsigned Value = 0;\n"
<< " std::cerr << MI;\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment