diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-01-29 00:06:09 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-01-29 00:06:09 +0000 |
commit | 42cc6e33ec0f63560c31f1928c56b4b0465d537c (patch) | |
tree | 4d83516e71247283074a94871291c91dbcf0decf | |
parent | e91a0008895873f3f418640354efcfd996f621f9 (diff) |
Fix comment about removeRange.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63255 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/LiveInterval.h | 2 | ||||
-rw-r--r-- | lib/CodeGen/LiveInterval.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index 86aada3b80..4966a614d3 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/include/llvm/CodeGen/LiveInterval.h @@ -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) { diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp index ff430d71c7..4392652438 100644 --- a/lib/CodeGen/LiveInterval.cpp +++ b/lib/CodeGen/LiveInterval.cpp @@ -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. |