File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
SwiftCompilerSources/Sources/Optimizer/Utilities Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1515// let myNewTest =
1616// FunctionTest("my_new_test") { function, arguments, context in
1717// }
18- // - In SwiftCompilerSources/Sources/SIL/Test.swift's registerSILTests function,
19- // register the new test:
18+ // - In SwiftCompilerSources/Sources/SIL/Test.swift's registerOptimizerTests
19+ // function, register the new test:
2020// registerFunctionTest(myNewTest)
2121//
2222//===----------------------------------------------------------------------===//
5757// 1) A test test/SILOptimizer/interesting_functionality_unit.sil runs the
5858// TestRunner pass:
5959// // RUN: %target-sil-opt -test-runner %s -o /dev/null 2>&1 | %FileCheck %s
60+ // // REQUIRES: swift_in_compiler
6061// 2) A function in interesting_functionality_unit.sil contains the
6162// specify_test instruction.
6263// sil @f : $() -> () {
You can’t perform that action at this time.
0 commit comments