Skip to content

Commit cf8c856

Browse files
committed
Optimizer: move optimizer bridging code from PassManager.cpp into its own file.
The bridging code was in PassManager.cpp only for historical reasons. It's now in OptimizerBridging.cpp. NFC
1 parent c28279f commit cf8c856

File tree

4 files changed

+703
-676
lines changed

4 files changed

+703
-676
lines changed

include/swift/SILOptimizer/PassManager/PassManager.h

+1
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ class SILPassManager {
450450

451451
static bool isPassDisabled(StringRef passName);
452452
static bool isInstructionPassDisabled(StringRef instName);
453+
static bool isAnyPassDisabled();
453454
static bool disablePassesForFunction(SILFunction *function);
454455

455456
/// Runs the SIL verifier which is implemented in the SwiftCompilerSources.

0 commit comments

Comments
 (0)