Sort live intervals by increasing start point.

llvm-svn: 10289
This commit is contained in:
Alkis Evlogimenos 2003-12-05 10:32:01 +00:00
parent 5fe0031c68
commit ed28ca93ef
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ void LiveIntervals::computeIntervals()
}
}
std::sort(intervals_.begin(), intervals_.end(), StartPointComp());
DEBUG(std::copy(intervals_.begin(), intervals_.end(),
std::ostream_iterator<Interval>(std::cerr, "\n")));
}