File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ No yet implemented instruction classes are mapped to a "placeholder" instruction
135135
136136Similar to SIL, the optimizer also uses a small bridging layer (` OptimizerBridging.h ` ).
137137Passes are registered in ` registerSwiftPasses() ` , called from ` initializeSwiftModules() ` .
138- The C++ PassManager can then call a Swift pass like any other ` SILFunctionTransform ` pass.
138+ The C++ ` PassManager ` can then call a Swift pass like any other ` SILFunctionTransform ` pass.
139139
140140To add a new function pass:
141141
@@ -160,7 +160,7 @@ To add a new instruction pass:
160160* create a new Swift file in ` SwiftCompilerSources/Optimizer/InstructionPasses `
161161* add an ` InstructionPass ` global
162162* register the pass in ` registerSwiftPasses() `
163- * if this passes replaces an existing ` SILCombiner ` visit function, remove the old visit function
163+ * if this pass replaces an existing ` SILCombiner ` visit function, remove the old visit function
164164
165165## Performance
166166
You can’t perform that action at this time.
0 commit comments