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

llvm-svn: 31781
This commit is contained in:
Bill Wendling committed 2006-11-16 02:43:32 +00:00
1 parent c7969fd1e7
commit cc9816c87b
1 file changed
+4
+4
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();
}