Fix comment about removeRange.

llvm-svn: 63255
This commit is contained in:
Evan Cheng 2009-01-29 00:06:09 +00:00
parent 8abb07a527
commit da5915379c
2 changed files with 2 additions and 2 deletions

View 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) {

View 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.