Added "removeRange", which takes and removes an entire LiveRange.
llvm-svn: 31781
This commit is contained in:
1 parent
c7969fd1e7
commit
cc9816c87b
1 file changed
+4
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user