Skip to content

Commit dd2468c

Browse files
committed
Fix typo in local var
1 parent 8a0c1db commit dd2468c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SwiftCompilerSources/Sources/Optimizer/FunctionPasses/LifetimeDependenceInsertion.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ private extension LifetimeDependentApply.LifetimeSourceInfo {
219219
return
220220
}
221221
// Create a new dependence on the apply's access to the argument.
222-
for varIntoducer in gatherVariableIntroducers(for: source.value, context) {
223-
let scope = LifetimeDependence.Scope(base: varIntoducer, context)
222+
for varIntroducer in gatherVariableIntroducers(for: source.value, context) {
223+
let scope = LifetimeDependence.Scope(base: varIntroducer, context)
224224
log("Scoped lifetime from \(source.value)")
225225
log(" scope: \(scope)")
226226
bases.append(scope.parentValue)

0 commit comments

Comments
 (0)