aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-05-27 22:29:02 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-05-27 22:29:02 +0000
commitb9dd8154b6f0c64c7e6703b11fa5d25e1375a8df (patch)
treefa3570a3bde2cc6f57b2925aa5baf319059855b1 /utils
parent86172ab3d6424258ee499cee470dc6f84e5867f0 (diff)
downloadexternal_llvm-b9dd8154b6f0c64c7e6703b11fa5d25e1375a8df.zip
external_llvm-b9dd8154b6f0c64c7e6703b11fa5d25e1375a8df.tar.gz
external_llvm-b9dd8154b6f0c64c7e6703b11fa5d25e1375a8df.tar.bz2
Cannot output `static' in generated cpp code: results in error. It's already
specified as a static member in class definition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/CodeEmitterGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp
index 90474cf..a73d291 100644
--- a/utils/TableGen/CodeEmitterGen.cpp
+++ b/utils/TableGen/CodeEmitterGen.cpp
@@ -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"