forked from OSchip/llvm-project
Added "removeRange", which takes and removes an entire LiveRange.
llvm-svn: 31781
This commit is contained in:
parent
c7969fd1e7
commit
cc9816c87b
|
@ -244,6 +244,10 @@ namespace llvm {
|
||||||
/// the range must already be in this interval in its entirety.
|
/// the range must already be in this interval in its entirety.
|
||||||
void removeRange(unsigned Start, unsigned End);
|
void removeRange(unsigned Start, unsigned End);
|
||||||
|
|
||||||
|
void removeRange(LiveRange LR) {
|
||||||
|
removeRange(LR.start, LR.end);
|
||||||
|
}
|
||||||
|
|
||||||
bool operator<(const LiveInterval& other) const {
|
bool operator<(const LiveInterval& other) const {
|
||||||
return beginNumber() < other.beginNumber();
|
return beginNumber() < other.beginNumber();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue