Remove all comments related to 'insertion points' in ARCSequenceOpts

Historically ARC code motion was also part of ARCSequenceOpts. Remove
some stale comments regarding 'insertion points'
This commit is contained in:
Meghana Gupta
2020-08-16 20:13:54 -07:00
parent 21b91cd03c
commit 1ec1c0ef48
4 changed files with 6 additions and 24 deletions

View File

@@ -241,14 +241,11 @@ bool BottomUpRefCountState::handleGuaranteedUser(
// Advance the sequence...
switch (LatState) {
// If were decremented, insert the insertion point.
case LatticeState::Decremented: {
LatState = LatticeState::MightBeDecremented;
return true;
}
case LatticeState::MightBeUsed:
// If we have a might be used, we already created an insertion point
// earlier. Just move to MightBeDecremented.
LatState = LatticeState::MightBeDecremented;
return true;
case LatticeState::MightBeDecremented:
@@ -705,14 +702,11 @@ bool TopDownRefCountState::handleGuaranteedUser(
"Must be able to be used at this point of the lattice.");
// Advance the sequence...
switch (LatState) {
// If were decremented, insert the insertion point.
case LatticeState::Incremented: {
LatState = LatticeState::MightBeUsed;
return true;
}
case LatticeState::MightBeDecremented:
// If we have a might be used, we already created an insertion point
// earlier. Just move to MightBeDecremented.
LatState = LatticeState::MightBeUsed;
return true;
case LatticeState::MightBeUsed: