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