PassWrapper: adapt for llvm/llvm-project@b01e2a8b56
We don't see a reason to explicitly pass the default here, so just use the default instead of explicitly passing it and needing an ifdef. @rustbot label: +llvm-main
This commit is contained in:
parent
a0d98ff0e5
commit
ab5583ed1e
1 changed files with 3 additions and 3 deletions
|
@ -827,9 +827,9 @@ extern "C" LLVMRustResult LLVMRustOptimize(
|
||||||
!NoPrepopulatePasses) {
|
!NoPrepopulatePasses) {
|
||||||
PipelineStartEPCallbacks.push_back(
|
PipelineStartEPCallbacks.push_back(
|
||||||
[](ModulePassManager &MPM, OptimizationLevel Level) {
|
[](ModulePassManager &MPM, OptimizationLevel Level) {
|
||||||
MPM.addPass(LowerTypeTestsPass(/*ExportSummary=*/nullptr,
|
MPM.addPass(LowerTypeTestsPass(
|
||||||
/*ImportSummary=*/nullptr,
|
/*ExportSummary=*/nullptr,
|
||||||
/*DropTypeTests=*/false));
|
/*ImportSummary=*/nullptr));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue