Fix an incompatibility with GCC 4.1, thanks to Vladimir Merzliakov

for pointing this out!

llvm-svn: 23963
This commit is contained in:
Chris Lattner 2005-10-24 15:04:15 +00:00
parent 76b12c4d95
commit fc9f5773d0
1 changed files with 0 additions and 3 deletions

View File

@ -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";
}