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
135
135
136
136
Similar to SIL, the optimizer also uses a small bridging layer (` OptimizerBridging.h ` ).
137
137
Passes 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.
139
139
140
140
To add a new function pass:
141
141
@@ -160,7 +160,7 @@ To add a new instruction pass:
160
160
* create a new Swift file in ` SwiftCompilerSources/Optimizer/InstructionPasses `
161
161
* add an ` InstructionPass ` global
162
162
* 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
164
164
165
165
## Performance
166
166
You can’t perform that action at this time.
0 commit comments