File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
SwiftCompilerSources/Sources/Optimizer/PassManager Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -96,23 +96,23 @@ extension MutatingContext {
9696 func inlineFunction( apply: FullApplySite , mandatoryInline: Bool ) {
9797 // This is only a best-effort attempt to notify the new cloned instructions as changed.
9898 // TODO: get a list of cloned instructions from the `inlineFunction`
99- let instAfterInling : Instruction ?
99+ let instAfterInlining : Instruction ?
100100 switch apply {
101101 case is ApplyInst :
102- instAfterInling = apply. next
102+ instAfterInlining = apply. next
103103 case let beginApply as BeginApplyInst :
104104 let next = beginApply. next!
105- instAfterInling = ( next is EndApplyInst ? nil : next)
105+ instAfterInlining = ( next is EndApplyInst ? nil : next)
106106 case is TryApplyInst :
107- instAfterInling = apply. parentBlock. next? . instructions. first
107+ instAfterInlining = apply. parentBlock. next? . instructions. first
108108 default :
109- instAfterInling = nil
109+ instAfterInlining = nil
110110 }
111111
112112 bridgedPassContext. inlineFunction ( apply. bridged, mandatoryInline)
113113
114- if let instAfterInling = instAfterInling {
115- notifyNewInstructions ( from: apply, to: instAfterInling )
114+ if let instAfterInlining = instAfterInlining {
115+ notifyNewInstructions ( from: apply, to: instAfterInlining )
116116 }
117117 }
118118
You can’t perform that action at this time.
0 commit comments