Make some changes suggested by Bill and Evan.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76775 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene
2009-07-22 20:08:25 +00:00
parent 6930f4f945
commit 29ff37f39c
3 changed files with 29 additions and 34 deletions

View File

@@ -572,6 +572,10 @@ namespace llvm {
///
unsigned getSize() const;
/// ComputeJoinedWeight - Set the weight of a live interval after
/// Other has been merged into it.
void ComputeJoinedWeight(const LiveInterval &Other);
bool operator<(const LiveInterval& other) const {
return beginNumber() < other.beginNumber();
}