mirror of
https://github.com/intel/llvm.git
synced 2026-01-30 22:53:05 +08:00
Remove unused parameters.
llvm-svn: 315133
This commit is contained in:
@@ -416,7 +416,7 @@ void LinkerScript::processCommands(OutputSectionFactory &Factory) {
|
||||
|
||||
// Add input sections to an output section.
|
||||
for (InputSectionBase *S : V)
|
||||
Factory.addInputSec(S, Sec->Name, Sec);
|
||||
Factory.addInputSec(S, Sec);
|
||||
|
||||
assert(Sec->SectionIndex == INT_MAX);
|
||||
Sec->SectionIndex = I;
|
||||
@@ -466,7 +466,7 @@ void LinkerScript::addOrphanSections(OutputSectionFactory &Factory) {
|
||||
|
||||
if (OutputSection *Sec = findByName(
|
||||
makeArrayRef(Opt.Commands).slice(0, End), Name)) {
|
||||
Factory.addInputSec(S, Name, Sec);
|
||||
Factory.addInputSec(S, Sec);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user