Driver: Eliminate now unused argument.

llvm-svn: 110010
This commit is contained in:
Daniel Dunbar 2010-08-02 02:38:12 +00:00
parent 89f791e2c2
commit c12a412cb6
2 changed files with 2 additions and 5 deletions

View File

@ -291,7 +291,6 @@ public:
const Action *A, const Action *A,
const ToolChain *TC, const ToolChain *TC,
const char *BoundArch, const char *BoundArch,
bool CanAcceptPipe,
bool AtTopLevel, bool AtTopLevel,
const char *LinkingOutput, const char *LinkingOutput,
InputInfo &Result) const; InputInfo &Result) const;

View File

@ -926,7 +926,6 @@ void Driver::BuildJobs(Compilation &C) const {
InputInfo II; InputInfo II;
BuildJobsForAction(C, A, &C.getDefaultToolChain(), BuildJobsForAction(C, A, &C.getDefaultToolChain(),
/*BoundArch*/0, /*BoundArch*/0,
/*CanAcceptPipe*/ true,
/*AtTopLevel*/ true, /*AtTopLevel*/ true,
/*LinkingOutput*/ LinkingOutput, /*LinkingOutput*/ LinkingOutput,
II); II);
@ -1024,7 +1023,6 @@ void Driver::BuildJobsForAction(Compilation &C,
const Action *A, const Action *A,
const ToolChain *TC, const ToolChain *TC,
const char *BoundArch, const char *BoundArch,
bool CanAcceptPipe,
bool AtTopLevel, bool AtTopLevel,
const char *LinkingOutput, const char *LinkingOutput,
InputInfo &Result) const { InputInfo &Result) const {
@ -1051,7 +1049,7 @@ void Driver::BuildJobsForAction(Compilation &C,
TC = Host->CreateToolChain(C.getArgs(), BAA->getArchName()); TC = Host->CreateToolChain(C.getArgs(), BAA->getArchName());
BuildJobsForAction(C, *BAA->begin(), TC, BAA->getArchName(), BuildJobsForAction(C, *BAA->begin(), TC, BAA->getArchName(),
CanAcceptPipe, AtTopLevel, LinkingOutput, Result); AtTopLevel, LinkingOutput, Result);
return; return;
} }
@ -1073,7 +1071,7 @@ void Driver::BuildJobsForAction(Compilation &C,
SubJobAtTopLevel = true; SubJobAtTopLevel = true;
InputInfo II; InputInfo II;
BuildJobsForAction(C, *it, TC, BoundArch, false, BuildJobsForAction(C, *it, TC, BoundArch,
SubJobAtTopLevel, LinkingOutput, II); SubJobAtTopLevel, LinkingOutput, II);
InputInfos.push_back(II); InputInfos.push_back(II);
} }