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 | af7e898e841b9c4d2e5cc602be93c6952ef8ace8 (patch) | |
tree | bd70d8e5dea98fbd5192d6b5d51b83cda9c4656d | |
parent | 0e58e5e48cad5a0f0db69c1b7049261fc047643e (diff) | |
download | bcm5719-llvm-af7e898e841b9c4d2e5cc602be93c6952ef8ace8.tar.gz bcm5719-llvm-af7e898e841b9c4d2e5cc602be93c6952ef8ace8.zip |
Fix a bug in the range remover
llvm-svn: 15188
-rw-r--r-- | llvm/lib/CodeGen/LiveInterval.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp index 11eb0fe7de4..e5331530807 100644 --- a/llvm/lib/CodeGen/LiveInterval.cpp +++ b/llvm/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; } |