summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveInterval.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-06-29 11:22:26 +0000
committerDuncan Sands <baldrick@free.fr>2010-06-29 11:22:26 +0000
commit6d28e73acc79830a9a35fb9a3e7c7d6084936bbe (patch)
tree0babb682028d6bcfb4d0b1a582b34a62e3f27865 /llvm/lib/CodeGen/LiveInterval.cpp
parentb69a3e27dfebd4087d8b2c970277b928f7d39247 (diff)
downloadbcm5719-llvm-6d28e73acc79830a9a35fb9a3e7c7d6084936bbe.tar.gz
bcm5719-llvm-6d28e73acc79830a9a35fb9a3e7c7d6084936bbe.zip
Remove initialized but otherwise unused variables.
llvm-svn: 107127
Diffstat (limited to 'llvm/lib/CodeGen/LiveInterval.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveInterval.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveInterval.cpp b/llvm/lib/CodeGen/LiveInterval.cpp
index 34b58515b68..21a9b7d4db6 100644
--- a/llvm/lib/CodeGen/LiveInterval.cpp
+++ b/llvm/lib/CodeGen/LiveInterval.cpp
@@ -180,7 +180,6 @@ bool LiveInterval::overlaps(SlotIndex Start, SlotIndex End) const {
void LiveInterval::extendIntervalEndTo(Ranges::iterator I, SlotIndex NewEnd) {
assert(I != ranges.end() && "Not a valid interval!");
VNInfo *ValNo = I->valno;
- SlotIndex OldEnd = I->end;
// Search for the first interval that we can't merge with.
Ranges::iterator MergeTo = next(I);
OpenPOWER on IntegriCloud