mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
08a6b3cf7e
commit
dc93efe30e
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user