void
normalize_mem_ranges (std::vector<mem_range> *memory)
{
- /* This function must not use any VEC operation on RANGES that
- reallocates the memory block as that invalidates the RANGES
- pointer, which callers expect to remain valid. */
-
if (!memory->empty ())
{
std::vector<mem_range> &m = *memory;