File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -311,15 +311,15 @@ LocalTypeDataCache::StateAdvancement LocalTypeDataCache::advanceStateInScope(
311
311
key = key.getCachingKey ();
312
312
313
313
auto iterator = Map.find (key);
314
- // There's no chain of entries, no no entry which could possibly be used.
314
+ // There's no chain of entries, so no entry which could possibly be used.
315
315
if (iterator == Map.end ())
316
316
return StateAdvancement::NoEntry;
317
317
auto &chain = iterator->second ;
318
318
319
- // Scan the chain for entries with the appropriate relationship to the active
320
- // dominance scope, and "promote their state". Any entry whose state is
321
- // already at least as complete than `state` is unaffected, and results in
322
- // exiting early.
319
+ // Scan the chain for an entry with the appropriate relationship to the active
320
+ // dominance scope, and "promote its state". The existence of a concrete
321
+ // entry whose state is already at least as complete as `state` is
322
+ // unaffected, and results in exiting early.
323
323
//
324
324
// There are two cases of interest:
325
325
//
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ struct ValueStorage {
138
138
139
139
// / When either isDefProjection or isUseProjection is set, this refers to the
140
140
// / storage whose "def" this value projects out of or whose operand this
141
- // / storage projects into via its "use.
141
+ // / storage projects into via its "use" .
142
142
uint32_t projectedStorageID = InvalidID;
143
143
144
144
// / For use-projections, identifies the operand index of the composing use.
Original file line number Diff line number Diff line change 56
56
// /
57
57
// / bb0:
58
58
// / %get0 = apply %get<T>() : $@convention(thin) <τ_0_0>() -> @out τ_0_0
59
+ // / cond_br undef, bb1, bb2
59
60
// /
60
61
// / bb1:
61
62
// / destroy_value %get0 : $T
You can’t perform that action at this time.
0 commit comments