summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorKaelyn Uhrain <rikka@google.com>2012-05-24 23:37:49 +0000
committerKaelyn Uhrain <rikka@google.com>2012-05-24 23:37:49 +0000
commit85d8f0cba8f763a90617293c46d423376d72b370 (patch)
treeda566df5b50750c9762ba3a9de9787f178a3fa9e /llvm/lib/CodeGen/MachineScheduler.cpp
parenta306a8a844dbfa6d3d379ed3c8f693cca753a2dd (diff)
downloadbcm5719-llvm-85d8f0cba8f763a90617293c46d423376d72b370.tar.gz
bcm5719-llvm-85d8f0cba8f763a90617293c46d423376d72b370.zip
Silence unused variable warnings from when assertions are disabled.
llvm-svn: 157438
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineScheduler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index 662b16fa0a0..4c12c0e5d22 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/lib/CodeGen/MachineScheduler.cpp
@@ -1174,6 +1174,7 @@ SUnit *ConvergingScheduler::pickNode(bool &IsTopNode) {
CandResult TopResult =
pickNodeFromQueue(Top.Available, DAG->getTopRPTracker(), TopCand);
assert(TopResult != NoCand && "failed to find the first candidate");
+ (void)TopResult;
SU = TopCand.SU;
}
IsTopNode = true;
@@ -1185,6 +1186,7 @@ SUnit *ConvergingScheduler::pickNode(bool &IsTopNode) {
CandResult BotResult =
pickNodeFromQueue(Bot.Available, DAG->getBotRPTracker(), BotCand);
assert(BotResult != NoCand && "failed to find the first candidate");
+ (void)BotResult;
SU = BotCand.SU;
}
IsTopNode = false;
OpenPOWER on IntegriCloud