Skip to content

Commit ab5583e

Browse files
committed
PassWrapper: adapt for llvm/llvm-project@b01e2a8
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
1 parent a0d98ff commit ab5583e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -827,9 +827,9 @@ extern "C" LLVMRustResult LLVMRustOptimize(
827827
!NoPrepopulatePasses) {
828828
PipelineStartEPCallbacks.push_back(
829829
[](ModulePassManager &MPM, OptimizationLevel Level) {
830-
MPM.addPass(LowerTypeTestsPass(/*ExportSummary=*/nullptr,
831-
/*ImportSummary=*/nullptr,
832-
/*DropTypeTests=*/false));
830+
MPM.addPass(LowerTypeTestsPass(
831+
/*ExportSummary=*/nullptr,
832+
/*ImportSummary=*/nullptr));
833833
});
834834
}
835835

0 commit comments

Comments
 (0)