Skip to content

Commit 36205d9

Browse files
committed
[Gardening] Detypo'd "inlining".
1 parent 4183eca commit 36205d9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

SwiftCompilerSources/Sources/Optimizer/PassManager/ContextCommon.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)