projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01352aa
)
Added "removeRange", which takes and removes an entire LiveRange.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 16 Nov 2006 02:43:32 +0000
(
02:43
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 16 Nov 2006 02:43:32 +0000
(
02:43
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31781
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/LiveInterval.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/LiveInterval.h
b/include/llvm/CodeGen/LiveInterval.h
index 86b1873d5ab65d4100e7c2a1fb6fd9147ccf02ed..863d9b5b0718e92a77b7f813d95e14c7c7ada20d 100644
(file)
--- a/
include/llvm/CodeGen/LiveInterval.h
+++ b/
include/llvm/CodeGen/LiveInterval.h
@@
-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();
}