Skip to content

Commit dbb4d4d

Browse files
committed
ComputeSideEffects: fix a typo in a comment
1 parent ebc16d9 commit dbb4d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SwiftCompilerSources/Sources/Optimizer/FunctionPasses/ComputeSideEffects.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ let computeSideEffects = FunctionPass(name: "compute-side-effects", {
6060
}
6161

6262
// Second step: If an argument has unknown uses, we must add all previously collected
63-
// global effects to the argument, because we don't know to wich "global" side-effect
63+
// global effects to the argument, because we don't know to which "global" side-effect
6464
// instruction the argument might have escaped.
6565
for argument in function.arguments {
6666
collectedEffects.addEffectsForEcapingArgument(argument: argument)

0 commit comments

Comments
 (0)