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:
c83e40d
)
Fix a bug in the range remover
author
Chris Lattner
<sabre@nondot.org>
Sun, 25 Jul 2004 05:43:53 +0000
(
05:43
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 25 Jul 2004 05:43:53 +0000
(
05:43
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15188
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveInterval.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveInterval.cpp
b/lib/CodeGen/LiveInterval.cpp
index 11eb0fe7de4ee4e51fd67309a44be44cae18e8b2..e5331530807c3e4983efcd50b78673461e8b6865 100644
(file)
--- a/
lib/CodeGen/LiveInterval.cpp
+++ b/
lib/CodeGen/LiveInterval.cpp
@@
-223,7
+223,7
@@
void LiveInterval::removeRange(unsigned Start, unsigned End) {
// Otherwise if the span we are removing is at the end of the LiveRange,
// adjust the other way.
if (I->end == End) {
- I->
start
= Start;
+ I->
end
= Start;
return;
}