Fix comment about removeRange.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 29 Jan 2009 00:06:09 +0000 (00:06 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 29 Jan 2009 00:06:09 +0000 (00:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63255 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/LiveInterval.h
lib/CodeGen/LiveInterval.cpp

index 86aada3b80a7bf51279c8c0564188cb2e5f760b5..4966a614d37f623f66bd5a6d9dfa7e008b4f1cf0 100644 (file)
@@ -378,7 +378,7 @@ namespace llvm {
               SmallVector<VNInfo*, 16> &NewVNInfo);
 
     /// removeRange - Remove the specified range from this interval.  Note that
-    /// the range must already be in this interval in its entirety.
+    /// the range must be a single LiveRange in its entirety.
     void removeRange(unsigned Start, unsigned End, bool RemoveDeadValNo = false);
 
     void removeRange(LiveRange LR, bool RemoveDeadValNo = false) {
index ff430d71c7d79247424a406ae98202990f42c53e..4392652438ce33c03fd7e98b17e1529f6b9f42fb 100644 (file)
@@ -246,7 +246,7 @@ LiveInterval::addRangeFrom(LiveRange LR, iterator From) {
 
 
 /// removeRange - Remove the specified range from this interval.  Note that
-/// the range must already be in this interval in its entirety.
+/// the range must be in a single LiveRange in its entirety.
 void LiveInterval::removeRange(unsigned Start, unsigned End,
                                bool RemoveDeadValNo) {
   // Find the LiveRange containing this span.