mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[opt] Remove an unused argument to runPassPipeline().
I have plans to use this API also in libLTO (and maybe lld). llvm-svn: 280770
This commit is contained in:
parent
420a134a9e
commit
e6628836b6
@ -47,7 +47,7 @@ static cl::opt<std::string>
|
||||
"pipeline for handling managed aliasing queries"),
|
||||
cl::Hidden);
|
||||
|
||||
bool llvm::runPassPipeline(StringRef Arg0, LLVMContext &Context, Module &M,
|
||||
bool llvm::runPassPipeline(StringRef Arg0, Module &M,
|
||||
TargetMachine *TM, tool_output_file *Out,
|
||||
StringRef PassPipeline, OutputKind OK,
|
||||
VerifierKind VK,
|
||||
|
@ -47,7 +47,7 @@ enum VerifierKind {
|
||||
/// inclusion of the new pass manager headers and the old headers into the same
|
||||
/// file. It's interface is consequentially somewhat ad-hoc, but will go away
|
||||
/// when the transition finishes.
|
||||
bool runPassPipeline(StringRef Arg0, LLVMContext &Context, Module &M,
|
||||
bool runPassPipeline(StringRef Arg0, Module &M,
|
||||
TargetMachine *TM, tool_output_file *Out,
|
||||
StringRef PassPipeline, opt_tool::OutputKind OK,
|
||||
opt_tool::VerifierKind VK,
|
||||
|
@ -490,7 +490,7 @@ int main(int argc, char **argv) {
|
||||
// The user has asked to use the new pass manager and provided a pipeline
|
||||
// string. Hand off the rest of the functionality to the new code for that
|
||||
// layer.
|
||||
return runPassPipeline(argv[0], Context, *M, TM.get(), Out.get(),
|
||||
return runPassPipeline(argv[0], *M, TM.get(), Out.get(),
|
||||
PassPipeline, OK, VK, PreserveAssemblyUseListOrder,
|
||||
PreserveBitcodeUseListOrder, EmitSummaryIndex,
|
||||
EmitModuleHash)
|
||||
|
Loading…
x
Reference in New Issue
Block a user