[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervals.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Fri Dec 5 04:33:02 PST 2003
Changes in directory llvm/lib/CodeGen:
LiveIntervals.cpp updated: 1.2 -> 1.3
---
Log message:
Sort live intervals by increasing start point.
---
Diffs of the changes: (+1 -0)
Index: llvm/lib/CodeGen/LiveIntervals.cpp
diff -u llvm/lib/CodeGen/LiveIntervals.cpp:1.2 llvm/lib/CodeGen/LiveIntervals.cpp:1.3
--- llvm/lib/CodeGen/LiveIntervals.cpp:1.2 Wed Nov 19 21:32:25 2003
+++ llvm/lib/CodeGen/LiveIntervals.cpp Fri Dec 5 04:32:01 2003
@@ -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")));
}
More information about the llvm-commits
mailing list