mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
Update for GlobalVariables ctor change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1001,7 +1001,7 @@ namespace {
|
|||||||
nl(Out) << "if (!" << getCppName(GV) << ") {";
|
nl(Out) << "if (!" << getCppName(GV) << ") {";
|
||||||
in(); nl(Out) << getCppName(GV);
|
in(); nl(Out) << getCppName(GV);
|
||||||
}
|
}
|
||||||
Out << " = new GlobalVariable(";
|
Out << " = new GlobalVariable(/*Module=*/*mod";
|
||||||
nl(Out) << "/*Type=*/";
|
nl(Out) << "/*Type=*/";
|
||||||
printCppName(GV->getType()->getElementType());
|
printCppName(GV->getType()->getElementType());
|
||||||
Out << ",";
|
Out << ",";
|
||||||
@@ -1016,8 +1016,7 @@ namespace {
|
|||||||
}
|
}
|
||||||
nl(Out) << "/*Name=*/\"";
|
nl(Out) << "/*Name=*/\"";
|
||||||
printEscapedString(GV->getName());
|
printEscapedString(GV->getName());
|
||||||
Out << "\",";
|
Out << "\");";
|
||||||
nl(Out) << "mod);";
|
|
||||||
nl(Out);
|
nl(Out);
|
||||||
|
|
||||||
if (GV->hasSection()) {
|
if (GV->hasSection()) {
|
||||||
|
Reference in New Issue
Block a user