aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/LiveInterval.h
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-07-22 20:08:25 +0000
committerDavid Greene <greened@obbligato.org>2009-07-22 20:08:25 +0000
commit29ff37f39c305455752941fbf8a426b1f4d877fc (patch)
treecd379f840c5159d3e7dddbf3e157b3a572a241dd /include/llvm/CodeGen/LiveInterval.h
parent6930f4f9451c2f852477bdbcb640f0562b661753 (diff)
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
Diffstat (limited to 'include/llvm/CodeGen/LiveInterval.h')
-rw-r--r--include/llvm/CodeGen/LiveInterval.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h
index 52e43d3428..6910f41876 100644
--- a/include/llvm/CodeGen/LiveInterval.h
+++ b/include/llvm/CodeGen/LiveInterval.h
@@ -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();
}