Fix an incompatibility with GCC 4.1, thanks to Vladimir Merzliakov

for pointing this out!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-10-24 15:04:15 +00:00
parent 08a6b3cf7e
commit dc93efe30e

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