Searched refs:MergeTo (Results 1 – 1 of 1) sorted by relevance
164 iterator MergeTo = std::next(I); in extendSegmentEndTo() local165 for (; MergeTo != segments().end() && NewEnd >= MergeTo->end; ++MergeTo) in extendSegmentEndTo()166 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendSegmentEndTo()169 S->end = std::max(NewEnd, std::prev(MergeTo)->end); in extendSegmentEndTo()173 if (MergeTo != segments().end() && MergeTo->start <= I->end && in extendSegmentEndTo()174 MergeTo->valno == ValNo) { in extendSegmentEndTo()175 S->end = MergeTo->end; in extendSegmentEndTo()176 ++MergeTo; in extendSegmentEndTo()180 segments().erase(std::next(I), MergeTo); in extendSegmentEndTo()192 iterator MergeTo = I; in extendSegmentStartTo() local[all …]