aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit4354f5ca9aa1124613b68905b30b8815694abcb0 (patch)
tree6bad7385b65142eb5806cdeafcc6ea5f121cab35 /lib/CodeGen/LiveIntervalAnalysis.cpp
parent7717e54cb494b21f4a4749f7dd11ee2d8012e6bd (diff)
downloadexternal_llvm-4354f5ca9aa1124613b68905b30b8815694abcb0.zip
external_llvm-4354f5ca9aa1124613b68905b30b8815694abcb0.tar.gz
external_llvm-4354f5ca9aa1124613b68905b30b8815694abcb0.tar.bz2
Silence unused variable warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index a512912..2a979e1 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/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++;