diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-24 15:04:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-24 15:04:15 +0000 |
commit | fc9f5773d01a80b0ed1a3e93a029df5ed2f63b4e (patch) | |
tree | bea4bc050557b7bb15250b551af434b5356a11cf | |
parent | 76b12c4d95e146e09f63826793e0da3e4ddffdaf (diff) | |
download | bcm5719-llvm-fc9f5773d01a80b0ed1a3e93a029df5ed2f63b4e.tar.gz bcm5719-llvm-fc9f5773d01a80b0ed1a3e93a029df5ed2f63b4e.zip |
Fix an incompatibility with GCC 4.1, thanks to Vladimir Merzliakov
for pointing this out!
llvm-svn: 23963
-rw-r--r-- | llvm/utils/TableGen/CodeEmitterGen.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/CodeEmitterGen.cpp b/llvm/utils/TableGen/CodeEmitterGen.cpp index d8f81548061..ef3a6e9ad5b 100644 --- a/llvm/utils/TableGen/CodeEmitterGen.cpp +++ b/llvm/utils/TableGen/CodeEmitterGen.cpp @@ -76,7 +76,6 @@ void CodeEmitterGen::run(std::ostream &o) { std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); EmitSourceFileHeader("Machine Code Emitter", o); - o << "namespace llvm {\n\n"; std::string Namespace = Insts[0]->getValueAsString("Namespace") + "::"; // Emit function declaration @@ -255,6 +254,4 @@ void CodeEmitterGen::run(std::ostream &o) { << " }\n" << " return Value;\n" << "}\n\n"; - - o << "} // End llvm namespace \n"; } |