Skip to content

Commit 39b9969

Browse files
committed
SIL: use Test for the SmallProjectionPath's unit tests
Now that we have `Test` available in the SIL module, we can use it for the SmallProjectionPath's unit tests and get rid of the RunUnitTests pass.
1 parent 9dd1f7b commit 39b9969

File tree

8 files changed

+301
-324
lines changed

8 files changed

+301
-324
lines changed

SwiftCompilerSources/Sources/Optimizer/PassManager/PassRegistration.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ private func registerSwiftPasses() {
150150
registerPass(deadEndBlockDumper, { deadEndBlockDumper.run($0) })
151151
registerPass(memBehaviorDumper, { memBehaviorDumper.run($0) })
152152
registerPass(rangeDumper, { rangeDumper.run($0) })
153-
registerPass(runUnitTests, { runUnitTests.run($0) })
154153
registerPass(testInstructionIteration, { testInstructionIteration.run($0) })
155154
registerPass(updateBorrowedFromPass, { updateBorrowedFromPass.run($0) })
156155
}

SwiftCompilerSources/Sources/Optimizer/TestPasses/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ swift_compiler_sources(Optimizer
1515
MemBehaviorDumper.swift
1616
SILPrinter.swift
1717
RangeDumper.swift
18-
RunUnitTests.swift
1918
UpdateBorrowedFrom.swift
2019
TestInstructionIteration.swift
2120
)

SwiftCompilerSources/Sources/Optimizer/TestPasses/RunUnitTests.swift

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)