[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveInterval.h

Bill Wendling isanbard at gmail.com
Wed Nov 15 18:43:46 PST 2006



Changes in directory llvm/include/llvm/CodeGen:

LiveInterval.h updated: 1.25 -> 1.26
---
Log message:

Added "removeRange", which takes and removes an entire LiveRange. 


---
Diffs of the changes:  (+4 -0)

 LiveInterval.h |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/include/llvm/CodeGen/LiveInterval.h
diff -u llvm/include/llvm/CodeGen/LiveInterval.h:1.25 llvm/include/llvm/CodeGen/LiveInterval.h:1.26
--- llvm/include/llvm/CodeGen/LiveInterval.h:1.25	Sat Sep  2 00:37:53 2006
+++ llvm/include/llvm/CodeGen/LiveInterval.h	Wed Nov 15 20:43:32 2006
@@ -244,6 +244,10 @@
     /// 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();
     }






More information about the llvm-commits mailing list