Searched refs:MergeTo (Results 1 – 1 of 1) sorted by relevance
117 iterator MergeTo = std::next(I); in extendSegmentEndTo() local118 for (; MergeTo != segments().end() && NewEnd >= MergeTo->end; ++MergeTo) in extendSegmentEndTo()119 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendSegmentEndTo()122 S->end = std::max(NewEnd, std::prev(MergeTo)->end); in extendSegmentEndTo()126 if (MergeTo != segments().end() && MergeTo->start <= I->end && in extendSegmentEndTo()127 MergeTo->valno == ValNo) { in extendSegmentEndTo()128 S->end = MergeTo->end; in extendSegmentEndTo()129 ++MergeTo; in extendSegmentEndTo()133 segments().erase(std::next(I), MergeTo); in extendSegmentEndTo()145 iterator MergeTo = I; in extendSegmentStartTo() local[all …]