@@ -185,17 +185,13 @@ class BottomUpRefCountState : public RefCountState {
185185 bool initWithMutatorInst (ImmutablePointerSet<SILInstruction> *I,
186186 RCIdentityFunctionInfo *RCFI);
187187
188- // / Update this reference count's state given the instruction \p I. \p
189- // / InsertPt is the point furthest up the CFG where we can move the currently
190- // / tracked reference count.
188+ // / Update this reference count's state given the instruction \p I.
191189 void
192190 updateForSameLoopInst (SILInstruction *I,
193191 ImmutablePointerSetFactory<SILInstruction> &SetFactory,
194192 AliasAnalysis *AA);
195193
196- // / Update this reference count's state given the instruction \p I. \p
197- // / InsertPts are the points furthest up the CFG where we can move the
198- // / currently tracked reference count.
194+ // / Update this reference count's state given the instruction \p I.
199195 //
200196 // / The main difference in between this routine and update for same loop inst
201197 // / is that if we see any decrements on a value, we treat it as being
@@ -244,9 +240,7 @@ class BottomUpRefCountState : public RefCountState {
244240 bool valueCanBeUsedGivenLatticeState () const ;
245241
246242 // / Given the current lattice state, if we have seen a use, advance the
247- // / lattice state. Return true if we do so and false otherwise. \p InsertPt is
248- // / the location where if \p PotentialUser is a user of this ref count, we
249- // / would insert a release.
243+ // / lattice state. Return true if we do so and false otherwise.
250244 bool handleUser (SILValue RCIdentity,
251245 ImmutablePointerSetFactory<SILInstruction> &SetFactory,
252246 AliasAnalysis *AA);
@@ -264,9 +258,7 @@ class BottomUpRefCountState : public RefCountState {
264258 bool valueCanBeGuaranteedUsedGivenLatticeState () const ;
265259
266260 // / Given the current lattice state, if we have seen a use, advance the
267- // / lattice state. Return true if we do so and false otherwise. \p InsertPt is
268- // / the location where if \p PotentialUser is a user of this ref count, we
269- // / would insert a release.
261+ // / lattice state. Return true if we do so and false otherwise.
270262 bool
271263 handleGuaranteedUser (SILValue RCIdentity,
272264 ImmutablePointerSetFactory<SILInstruction> &SetFactory,
@@ -338,17 +330,13 @@ class TopDownRefCountState : public RefCountState {
338330 // / Uninitialize the current state.
339331 void clear ();
340332
341- // / Update this reference count's state given the instruction \p I. \p
342- // / InsertPt is the point furthest up the CFG where we can move the currently
343- // / tracked reference count.
333+ // / Update this reference count's state given the instruction \p I.
344334 void
345335 updateForSameLoopInst (SILInstruction *I,
346336 ImmutablePointerSetFactory<SILInstruction> &SetFactory,
347337 AliasAnalysis *AA);
348338
349- // / Update this reference count's state given the instruction \p I. \p
350- // / InsertPts are the points furthest up the CFG where we can move the
351- // / currently tracked reference count.
339+ // / Update this reference count's state given the instruction \p I.
352340 // /
353341 // / The main difference in between this routine and update for same loop inst
354342 // / is that if we see any decrements on a value, we treat it as being
0 commit comments