@@ -359,14 +359,14 @@ class COWArrayOpt {
359
359
// make_mutable calls are required within the loop body for that array.
360
360
llvm::SmallDenseMap<SILValue, ApplyInst*> ArrayMakeMutableMap;
361
361
362
- // \brief Transient per-Array user set.
363
- //
364
- // Track all known array users with the exception of struct_extract users
365
- // (checkSafeArrayElementUse prohibits struct_extract users from mutating the
366
- // array). During analysis of retains/releases within the loop body, the
367
- // users in this set are assumed to cover all possible mutating operations on
368
- // the array. If the array escaped through an unknown use, the analysis must
369
- // abort earlier.
362
+ // / \brief Transient per-Array user set.
363
+ // /
364
+ // / Track all known array users with the exception of struct_extract users
365
+ // / (checkSafeArrayElementUse prohibits struct_extract users from mutating the
366
+ // / array). During analysis of retains/releases within the loop body, the
367
+ // / users in this set are assumed to cover all possible mutating operations on
368
+ // / the array. If the array escaped through an unknown use, the analysis must
369
+ // / abort earlier.
370
370
SmallPtrSet<SILInstruction*, 8 > ArrayUserSet;
371
371
372
372
// When matching retains to releases we must not match the same release twice.
@@ -466,8 +466,8 @@ SmallPtrSetImpl<SILBasicBlock*> &COWArrayOpt::getReachingBlocks() {
466
466
}
467
467
468
468
469
- // \return true if the instruction is a call to a non-mutating array semantic
470
- // function.
469
+ // / \return true if the instruction is a call to a non-mutating array semantic
470
+ // / function.
471
471
static bool isNonMutatingArraySemanticCall (SILInstruction *Inst) {
472
472
ArraySemanticsCall Call (Inst);
473
473
if (!Call)
0 commit comments