mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Update for GlobalVariables ctor change.
llvm-svn: 75251
This commit is contained in:
parent
527180b7b0
commit
426ad99bf3
@ -1001,7 +1001,7 @@ namespace {
|
||||
nl(Out) << "if (!" << getCppName(GV) << ") {";
|
||||
in(); nl(Out) << getCppName(GV);
|
||||
}
|
||||
Out << " = new GlobalVariable(";
|
||||
Out << " = new GlobalVariable(/*Module=*/*mod";
|
||||
nl(Out) << "/*Type=*/";
|
||||
printCppName(GV->getType()->getElementType());
|
||||
Out << ",";
|
||||
@ -1016,8 +1016,7 @@ namespace {
|
||||
}
|
||||
nl(Out) << "/*Name=*/\"";
|
||||
printEscapedString(GV->getName());
|
||||
Out << "\",";
|
||||
nl(Out) << "mod);";
|
||||
Out << "\");";
|
||||
nl(Out);
|
||||
|
||||
if (GV->hasSection()) {
|
||||
|
Loading…
Reference in New Issue
Block a user