[LiveIntervalUnion] Expose extraction of last index in map for external users

Differential Revision: https://reviews.llvm.org/D69515
This commit is contained in:
Marcello Maggioni 2019-10-28 09:15:52 -07:00
parent bf21f0d489
commit e4d6f1300f
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ public:
bool empty() const { return Segments.empty(); }
SlotIndex startIndex() const { return Segments.start(); }
SlotIndex endIndex() const { return Segments.stop(); }
// Provide public access to the underlying map to allow overlap iteration.
using Map = LiveSegments;