summaryrefslogtreecommitdiff
path: root/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
commit5402efa3dce1902003094f701fc090e78a5ad557 (patch)
treeada46d6cfa5558f456fb601a504b3052ced8508f /lib/CodeGen/MachineScheduler.cpp
parent8ddd9d5b2bee3ccdb36aee4423ca4443d7b3dc32 (diff)
downloadllvm-5402efa3dce1902003094f701fc090e78a5ad557.tar.gz
llvm-5402efa3dce1902003094f701fc090e78a5ad557.tar.bz2
llvm-5402efa3dce1902003094f701fc090e78a5ad557.tar.xz
Silence unused variable warnings from when assertions are disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157438 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineScheduler.cpp')
-rw-r--r--lib/CodeGen/MachineScheduler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineScheduler.cpp b/lib/CodeGen/MachineScheduler.cpp
index 662b16fa0a..4c12c0e5d2 100644
--- a/lib/CodeGen/MachineScheduler.cpp
+++ b/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;