diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-25 05:43:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-25 05:43:53 +0000 |
commit | 6925a9f9cc0b9d34cfbc19d9208c416e293ca516 (patch) | |
tree | 39e4fa42b6a16b49f55d83d2c773813d0a61d556 /lib/CodeGen/LiveInterval.cpp | |
parent | c83e40d1b6582155286f1044623d544dea20202e (diff) |
Fix a bug in the range remover
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15188 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
-rw-r--r-- | lib/CodeGen/LiveInterval.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp index 11eb0fe7de..e533153080 100644 --- 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; } |