diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-11-16 02:43:32 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-11-16 02:43:32 +0000 |
commit | 1bcf7a309eb46c66adc154ad9c8f0562653a8e13 (patch) | |
tree | c91800054755103f6574e4efb134e29931661079 | |
parent | 01352aa1875ee08ae847cce398322042830d92ed (diff) |
Added "removeRange", which takes and removes an entire LiveRange.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31781 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/LiveInterval.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index 86b1873d5a..863d9b5b07 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/include/llvm/CodeGen/LiveInterval.h @@ -244,6 +244,10 @@ namespace llvm { /// the range must already be in this interval in its entirety. void removeRange(unsigned Start, unsigned End); + void removeRange(LiveRange LR) { + removeRange(LR.start, LR.end); + } + bool operator<(const LiveInterval& other) const { return beginNumber() < other.beginNumber(); } |