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

llvm-svn: 31781
This commit is contained in:
Bill Wendling 2006-11-16 02:43:32 +00:00
parent c7969fd1e7
commit cc9816c87b
1 changed files with 4 additions and 0 deletions

View 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();
}