[llvm-commits] CVS: llvm/utils/TableGen/CodeEmitterGen.cpp
Misha Brukman
brukman at cs.uiuc.edu
Tue May 27 17:30:01 PDT 2003
Changes in directory llvm/utils/TableGen:
CodeEmitterGen.cpp updated: 1.2 -> 1.3
---
Log message:
Cannot output `static' in generated cpp code: results in error. It's already
specified as a static member in class definition.
---
Diffs of the changes:
Index: llvm/utils/TableGen/CodeEmitterGen.cpp
diff -u llvm/utils/TableGen/CodeEmitterGen.cpp:1.2 llvm/utils/TableGen/CodeEmitterGen.cpp:1.3
--- llvm/utils/TableGen/CodeEmitterGen.cpp:1.2 Tue May 27 17:19:58 2003
+++ llvm/utils/TableGen/CodeEmitterGen.cpp Tue May 27 17:29:02 2003
@@ -18,7 +18,7 @@
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"
More information about the llvm-commits
mailing list