@@ -238,14 +238,14 @@ class MemoryLocations {
238
238
addr2LocIdx[projection] = locIdx;
239
239
}
240
240
241
- // / Sets the location bits os \p addr in \p bits, if \p addr is associated
241
+ // / Sets the location bits of \p addr in \p bits, if \p addr is associated
242
242
// / with a location.
243
243
void setBits (Bits &bits, SILValue addr) const {
244
244
if (auto *loc = getLocation (addr))
245
245
bits |= loc->subLocations ;
246
246
}
247
247
248
- // / Clears the location bits os \p addr in \p bits, if \p addr is associated
248
+ // / Clears the location bits of \p addr in \p bits, if \p addr is associated
249
249
// / with a location.
250
250
void clearBits (Bits &bits, SILValue addr) const {
251
251
if (auto *loc = getLocation (addr))
@@ -307,7 +307,7 @@ class MemoryLocations {
307
307
SubLocationMap &subLocationMap);
308
308
309
309
// / Helper function called by analyzeLocation to create a sub-location for
310
- // / and address projection and check all of its uses.
310
+ // / an address projection and check all of its uses.
311
311
bool analyzeAddrProjection (
312
312
SingleValueInstruction *projection, unsigned parentLocIdx,unsigned fieldNr,
313
313
SmallVectorImpl<SILValue> &collectedVals, SubLocationMap &subLocationMap);
0 commit comments