mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 07:39:31 +00:00
Reduce indentation. No functionality change.
llvm-svn: 211318
This commit is contained in:
parent
9dbc86ae83
commit
402a76c96d
@ -239,26 +239,26 @@ ld_plugin_status onload(ld_plugin_tv *tv) {
|
||||
return LDPS_ERR;
|
||||
}
|
||||
|
||||
if (RegisteredAllSymbolsRead) {
|
||||
InitializeAllTargetInfos();
|
||||
InitializeAllTargets();
|
||||
InitializeAllTargetMCs();
|
||||
InitializeAllAsmParsers();
|
||||
InitializeAllAsmPrinters();
|
||||
InitializeAllDisassemblers();
|
||||
TargetOpts = InitTargetOptionsFromCodeGenFlags();
|
||||
CodeGen = new LTOCodeGenerator();
|
||||
CodeGen->setTargetOptions(TargetOpts);
|
||||
if (MAttrs.size()) {
|
||||
std::string Attrs;
|
||||
for (unsigned I = 0; I < MAttrs.size(); ++I) {
|
||||
if (I > 0)
|
||||
Attrs.append(",");
|
||||
Attrs.append(MAttrs[I]);
|
||||
}
|
||||
if (!RegisteredAllSymbolsRead)
|
||||
return LDPS_OK;
|
||||
|
||||
CodeGen->setAttr(Attrs.c_str());
|
||||
InitializeAllTargetInfos();
|
||||
InitializeAllTargets();
|
||||
InitializeAllTargetMCs();
|
||||
InitializeAllAsmParsers();
|
||||
InitializeAllAsmPrinters();
|
||||
InitializeAllDisassemblers();
|
||||
TargetOpts = InitTargetOptionsFromCodeGenFlags();
|
||||
CodeGen = new LTOCodeGenerator();
|
||||
CodeGen->setTargetOptions(TargetOpts);
|
||||
if (MAttrs.size()) {
|
||||
std::string Attrs;
|
||||
for (unsigned I = 0; I < MAttrs.size(); ++I) {
|
||||
if (I > 0)
|
||||
Attrs.append(",");
|
||||
Attrs.append(MAttrs[I]);
|
||||
}
|
||||
CodeGen->setAttr(Attrs.c_str());
|
||||
}
|
||||
|
||||
return LDPS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user