From 0fc44869ffb5c180ec12f86f2fd02a35a1affb4a Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Thu, 26 Jul 2012 19:42:56 +0000 Subject: [PATCH] Use an otherwise unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160798 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineTraceMetrics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/MachineTraceMetrics.cpp b/lib/CodeGen/MachineTraceMetrics.cpp index b30210109c7..557d47314e9 100644 --- a/lib/CodeGen/MachineTraceMetrics.cpp +++ b/lib/CodeGen/MachineTraceMetrics.cpp @@ -384,7 +384,7 @@ void MachineTraceMetrics::Ensemble::computeTrace(const MachineBasicBlock *MBB) { DEBUG(dbgs() << " succ for BB#" << I->getNumber() << ": "); TraceBlockInfo &TBI = BlockInfo[I->getNumber()]; // All the successors have been visited, pick the preferred one. - BlockInfo[I->getNumber()].Succ = pickTraceSucc(*I); + TBI.Succ = pickTraceSucc(*I); DEBUG({ if (TBI.Pred) dbgs() << "BB#" << TBI.Succ->getNumber() << '\n';