commit | 91ceae6d2060367a5212b15b26faa804ea0448a5 | [log] [tgz] |
---|---|---|
author | Alkis Evlogimenos <alkis@evlogimenos.com> | Fri Dec 05 10:32:01 2003 +0000 |
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | Fri Dec 05 10:32:01 2003 +0000 |
tree | 3f0d5fe6bff9ce96ece84c0be0a609cfd38fef7c | |
parent | 69546d5f840250455202e487ec42d8655d209775 [diff] [blame] |
Sort live intervals by increasing start point. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10289 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index eda717b..ec15c08 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -297,6 +297,7 @@ } } + std::sort(intervals_.begin(), intervals_.end(), StartPointComp()); DEBUG(std::copy(intervals_.begin(), intervals_.end(), std::ostream_iterator<Interval>(std::cerr, "\n"))); }