mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Fix a bug where incorrect C++ was being emitted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28615 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1446,7 +1446,6 @@ void CppWriter::printContents(
|
|||||||
) {
|
) {
|
||||||
Out << "\nModule* " << fname << "(Module *mod) {\n";
|
Out << "\nModule* " << fname << "(Module *mod) {\n";
|
||||||
Out << "\nmod->setModuleIdentifier(\"" << mName << "\");\n";
|
Out << "\nmod->setModuleIdentifier(\"" << mName << "\");\n";
|
||||||
Out << "\");\n";
|
|
||||||
printModuleBody();
|
printModuleBody();
|
||||||
Out << "\nreturn mod;\n";
|
Out << "\nreturn mod;\n";
|
||||||
Out << "\n}\n";
|
Out << "\n}\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user