Added "removeRange", which takes and removes an entire LiveRange.
authorBill Wendling <isanbard@gmail.com>
Thu, 16 Nov 2006 02:43:32 +0000 (02:43 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 16 Nov 2006 02:43:32 +0000 (02:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31781 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/LiveInterval.h

index 86b1873d5ab65d4100e7c2a1fb6fd9147ccf02ed..863d9b5b0718e92a77b7f813d95e14c7c7ada20d 100644 (file)
@@ -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();
     }