summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-11-21 20:00:59 +0000
committerDevang Patel <dpatel@apple.com>2008-11-21 20:00:59 +0000
commitcb181bb203085f863ee89eabdb75eb0778c5e2f5 (patch)
tree473ac5ebf743880303bd928f5be2dd2123b2bf7c /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent72d9912b08c5492cc2eaff9a666e45718f1dea07 (diff)
downloadbcm5719-llvm-cb181bb203085f863ee89eabdb75eb0778c5e2f5.tar.gz
bcm5719-llvm-cb181bb203085f863ee89eabdb75eb0778c5e2f5.zip
Silence unused variable warnings.
llvm-svn: 59841
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index a51291298b9..2a979e19eb5 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -125,6 +125,7 @@ void LiveIntervals::computeNumbering() {
I != E; ++I) {
bool inserted = mi2iMap_.insert(std::make_pair(I, MIIndex)).second;
assert(inserted && "multiple MachineInstr -> index mappings");
+ inserted = true;
i2miMap_.push_back(I);
MIIndex += InstrSlots::NUM;
FunctionSize++;
OpenPOWER on IntegriCloud