Skip to content

Commit a70cd8c

Browse files
committed
Comment typo/cleanup.
1 parent d3ad4ed commit a70cd8c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lib/SILOptimizer/Mandatory/GuaranteedARCOpts.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ bool GuaranteedARCOptsVisitor::visitReleaseValueInst(ReleaseValueInst *RVI) {
206206
namespace {
207207

208208
// Even though this is a mandatory pass, it is rerun after deserialization in
209-
// cast DiagnosticConstantPropagation exposed anything new in this assert
210-
// configutation.
209+
// case DiagnosticConstantPropagation exposed anything new in this assert
210+
// configuration.
211211
struct GuaranteedARCOpts : SILFunctionTransform {
212212
void run() override {
213213
GuaranteedARCOptsVisitor Visitor;

lib/SILOptimizer/Mandatory/SemanticARCOpts.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ static bool optimizeGuaranteedArgument(SILArgument *Arg,
141141

142142
namespace {
143143

144+
// Even though this is a mandatory pass, it is rerun after deserialization in
145+
// case DiagnosticConstantPropagation exposed anything new in this assert
146+
// configuration.
144147
struct SemanticARCOpts : SILFunctionTransform {
145148
void run() override {
146149
bool MadeChange = false;

0 commit comments

Comments
 (0)